fix: Prevent content from being overlapped by system navigation bar

This commit is contained in:
Alberto Ponces 2022-09-24 12:06:36 +01:00
parent 2a0ea78d7f
commit 4d82ff3011
1 changed files with 0 additions and 1 deletions

View File

@ -32,7 +32,6 @@ class NavigationViewModel extends IndexTrackingViewModel {
await prefs.setBool('useDarkTheme', isDark);
await DynamicTheme.of(context)!.setTheme(isDark ? 1 : 0);
}
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(
systemNavigationBarColor: Colors.transparent,