mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 12:38:24 +00:00
Use SafeArea, fixes cut-off bottom
This commit is contained in:
@@ -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 {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user