🐛 Bug fixes on realm UI
This commit is contained in:
parent
ae4d9cf81a
commit
0c87bbbce1
@ -21,8 +21,8 @@ class RealmScreen extends StatelessWidget {
|
|||||||
|
|
||||||
return IndentScaffold(
|
return IndentScaffold(
|
||||||
title: realm.focusRealm?.name ?? 'Loading...',
|
title: realm.focusRealm?.name ?? 'Loading...',
|
||||||
hideDrawer: true,
|
|
||||||
noSafeArea: true,
|
noSafeArea: true,
|
||||||
|
hideDrawer: true,
|
||||||
fixedAppBarColor: SolianTheme.isLargeScreen(context),
|
fixedAppBarColor: SolianTheme.isLargeScreen(context),
|
||||||
appBarActions: realm.focusRealm != null
|
appBarActions: realm.focusRealm != null
|
||||||
? [
|
? [
|
||||||
|
@ -18,7 +18,7 @@ class RealmListScreen extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final realm = context.watch<RealmProvider>();
|
final realm = context.watch<RealmProvider>();
|
||||||
|
|
||||||
return realm.focusRealm == null
|
return realm.focusRealm == null || !SolianTheme.isLargeScreen(context)
|
||||||
? IndentScaffold(
|
? IndentScaffold(
|
||||||
title: AppLocalizations.of(context)!.realm,
|
title: AppLocalizations.of(context)!.realm,
|
||||||
appBarActions: const [NotificationButton()],
|
appBarActions: const [NotificationButton()],
|
||||||
|
Loading…
Reference in New Issue
Block a user