forked from Nexus/nexus
wrap expanded image stack in a safearea to help with notch issues
This commit is contained in:
parent
18657eb980
commit
3349ca7253
1 changed files with 27 additions and 25 deletions
|
|
@ -17,7 +17,8 @@ class ExpandableImage extends ConsumerWidget {
|
|||
? null
|
||||
: () => showDialog(
|
||||
context: context,
|
||||
builder: (_) => Stack(
|
||||
builder: (_) => SafeArea(
|
||||
child: Stack(
|
||||
children: [
|
||||
Align(
|
||||
alignment: .topRight,
|
||||
|
|
@ -49,6 +50,7 @@ class ExpandableImage extends ConsumerWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
child: child,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue