fix: system navigation overlapping UI (#853)

This commit is contained in:
Dhruvan Bhalara 2023-05-10 15:48:51 +05:30 committed by GitHub
parent 289c6cd7a9
commit b803ce7435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View file

@ -92,7 +92,10 @@ class _AppSelectorViewState extends State<AppSelectorView> {
? const AppSkeletonLoader() ? const AppSkeletonLoader()
: Padding( : Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0) padding: const EdgeInsets.symmetric(horizontal: 12.0)
.copyWith(bottom: 80), .copyWith(
bottom:
MediaQuery.of(context).viewPadding.bottom + 8.0,
),
child: Column( child: Column(
children: [ children: [
...model ...model

View file

@ -57,6 +57,7 @@ class ContributorsView extends StatelessWidget {
title: 'contributorsView.managerContributors', title: 'contributorsView.managerContributors',
contributors: model.managerContributors, contributors: model.managerContributors,
), ),
SizedBox(height: MediaQuery.of(context).viewPadding.bottom)
], ],
), ),
), ),

View file

@ -20,6 +20,7 @@ class InstallerView extends StatelessWidget {
builder: (context, model, child) => WillPopScope( builder: (context, model, child) => WillPopScope(
child: SafeArea( child: SafeArea(
top: false, top: false,
bottom: false,
child: Scaffold( child: Scaffold(
body: CustomScrollView( body: CustomScrollView(
controller: model.scrollController, controller: model.scrollController,
@ -153,6 +154,11 @@ class InstallerView extends StatelessWidget {
), ),
), ),
), ),
SliverFillRemaining(
hasScrollBody: false,
child: SizedBox(
height: MediaQuery.of(context).viewPadding.bottom),
),
], ],
), ),
), ),

View file

@ -129,8 +129,10 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
), ),
) )
: Padding( : Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0) padding:
.copyWith(bottom: 80), const EdgeInsets.symmetric(horizontal: 12.0).copyWith(
bottom: MediaQuery.of(context).viewPadding.bottom + 8.0,
),
child: Column( child: Column(
children: [ children: [
Row( Row(