🐛 Bug fixes on realm UI

This commit is contained in:
LittleSheep 2024-05-06 23:36:54 +08:00
parent ae4d9cf81a
commit 0c87bbbce1
2 changed files with 2 additions and 2 deletions

View File

@ -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
? [

View File

@ -18,7 +18,7 @@ class RealmListScreen extends StatelessWidget {
Widget build(BuildContext context) {
final realm = context.watch<RealmProvider>();
return realm.focusRealm == null
return realm.focusRealm == null || !SolianTheme.isLargeScreen(context)
? IndentScaffold(
title: AppLocalizations.of(context)!.realm,
appBarActions: const [NotificationButton()],