1
0
Fork 0
forked from Nexus/nexus

wrap expanded image stack in a safearea to help with notch issues

This commit is contained in:
Henry Hiles 2026-06-13 18:44:02 -04:00
commit 3349ca7253
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -17,7 +17,8 @@ class ExpandableImage extends ConsumerWidget {
? null ? null
: () => showDialog( : () => showDialog(
context: context, context: context,
builder: (_) => Stack( builder: (_) => SafeArea(
child: Stack(
children: [ children: [
Align( Align(
alignment: .topRight, alignment: .topRight,
@ -49,6 +50,7 @@ class ExpandableImage extends ConsumerWidget {
], ],
), ),
), ),
),
child: child, child: child,
); );
} }