From eb90dbbc5a0deef6d31d68ca12f0ac56c527eb6e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 28 Dec 2025 17:19:27 +0800 Subject: [PATCH] :bug: Fix fab --- lib/screens/chat/chat.dart | 6 +++++- lib/screens/explore.dart | 6 +++++- lib/screens/realm/realms.dart | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/screens/chat/chat.dart b/lib/screens/chat/chat.dart index 8f586dfd..93ba8901 100644 --- a/lib/screens/chat/chat.dart +++ b/lib/screens/chat/chat.dart @@ -519,7 +519,11 @@ class ChatListScreen extends HookConsumerWidget { ), ); }, - ).padding(bottom: isWideScreen(context) ? null : 56) + ).padding( + bottom: + (isWideScreen(context) ? 0 : 56) + + MediaQuery.of(context).padding.bottom, + ) : null, appBar: AppBar( flexibleSpace: Container( diff --git a/lib/screens/explore.dart b/lib/screens/explore.dart index 465e42c2..50dda8b3 100644 --- a/lib/screens/explore.dart +++ b/lib/screens/explore.dart @@ -255,7 +255,11 @@ class ExploreScreen extends HookConsumerWidget { ), ); }, - ).padding(bottom: isWideScreen(context) ? null : 56) + ).padding( + bottom: + (isWideScreen(context) ? 0 : 56) + + MediaQuery.of(context).padding.bottom, + ) : null, body: isWide ? _buildWideBody( diff --git a/lib/screens/realm/realms.dart b/lib/screens/realm/realms.dart index cbe79cd8..03871bd5 100644 --- a/lib/screens/realm/realms.dart +++ b/lib/screens/realm/realms.dart @@ -115,7 +115,11 @@ class RealmListScreen extends HookConsumerWidget { ), ); }, - ).padding(bottom: isWideScreen(context) ? null : 56) + ).padding( + bottom: + (isWideScreen(context) ? 0 : 56) + + MediaQuery.of(context).padding.bottom, + ) : null, body: ExtendedRefreshIndicator( child: realms.when(