From 0c87bbbce1129443db6ad58b62c2983436bdfaa0 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 6 May 2024 23:36:54 +0800 Subject: [PATCH] :bug: Bug fixes on realm UI --- lib/screens/realms/realm.dart | 2 +- lib/screens/realms/realm_list.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/realms/realm.dart b/lib/screens/realms/realm.dart index c825cd7..438d555 100644 --- a/lib/screens/realms/realm.dart +++ b/lib/screens/realms/realm.dart @@ -21,8 +21,8 @@ class RealmScreen extends StatelessWidget { return IndentScaffold( title: realm.focusRealm?.name ?? 'Loading...', - hideDrawer: true, noSafeArea: true, + hideDrawer: true, fixedAppBarColor: SolianTheme.isLargeScreen(context), appBarActions: realm.focusRealm != null ? [ diff --git a/lib/screens/realms/realm_list.dart b/lib/screens/realms/realm_list.dart index dba0c53..94d41d0 100644 --- a/lib/screens/realms/realm_list.dart +++ b/lib/screens/realms/realm_list.dart @@ -18,7 +18,7 @@ class RealmListScreen extends StatelessWidget { Widget build(BuildContext context) { final realm = context.watch(); - return realm.focusRealm == null + return realm.focusRealm == null || !SolianTheme.isLargeScreen(context) ? IndentScaffold( title: AppLocalizations.of(context)!.realm, appBarActions: const [NotificationButton()],