Use SafeArea, fixes cut-off bottom

This commit is contained in:
franzap
2026-03-26 21:10:49 -03:00
parent a74b91e2a6
commit 97cff55581
+3 -7
View File
@@ -151,12 +151,9 @@ class MobileScaffold extends ConsumerWidget {
),
],
),
child: MediaQuery.removePadding(
context: context,
removeBottom: true,
child: Padding(
padding: const EdgeInsets.only(bottom: 8),
child: Theme(
child: SafeArea(
top: false,
child: Theme(
data: Theme.of(context).copyWith(
splashFactory: NoSplash.splashFactory,
highlightColor: Colors.transparent,
@@ -294,7 +291,6 @@ class MobileScaffold extends ConsumerWidget {
),
),
),
),
);
}
}