Revert "fix: Prevent content from being overlapped by system navigation bar"

This reverts commit 4d82ff3011.
This commit is contained in:
Alberto Ponces 2022-09-24 13:49:46 +01:00
parent 6b66c7bbd0
commit 587ba795bb

View file

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