From 195615131e53e0a4317b654e8788929d529c6dbf Mon Sep 17 00:00:00 2001 From: ParamveerSingh <90888431+paramveeRana@users.noreply.github.com> Date: Thu, 15 Oct 2026 22:23:10 +0530 Subject: [PATCH] fix: keep the bottom of the profile page above the system navigation bar The bottom padding is removed from the MediaQuery further up the tree, so the last items of the profile/settings page were drawn under the Android navigation buttons on some devices. Pad the list by the system navigation bar height. Closes #1915 --- packages/uni_app/lib/view/profile/profile.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/uni_app/lib/view/profile/profile.dart b/packages/uni_app/lib/view/profile/profile.dart index 1033ab4e7..5462c9d4e 100644 --- a/packages/uni_app/lib/view/profile/profile.dart +++ b/packages/uni_app/lib/view/profile/profile.dart @@ -24,7 +24,14 @@ class ProfilePageView extends ConsumerStatefulWidget { class ProfilePageViewState extends SecondaryPageViewState { @override Widget getBody(BuildContext context) { + // The bottom padding is removed from the MediaQuery further up the tree, + // so read the system navigation bar height from the view itself. + final bottomPadding = MediaQueryData.fromView( + View.of(context), + ).viewPadding.bottom; + return ListView( + padding: EdgeInsets.only(bottom: bottomPadding), children: [ DefaultConsumer( provider: profileProvider,