From 587ba795bb508a745d1107bd9df29896b38d0055 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Sat, 24 Sep 2022 13:49:46 +0100 Subject: [PATCH] Revert "fix: Prevent content from being overlapped by system navigation bar" This reverts commit 4d82ff3011af43f60b0ea694aaed207c6883bd8f. --- lib/ui/views/navigation/navigation_viewmodel.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ui/views/navigation/navigation_viewmodel.dart b/lib/ui/views/navigation/navigation_viewmodel.dart index b78ecae3..65b035d7 100644 --- a/lib/ui/views/navigation/navigation_viewmodel.dart +++ b/lib/ui/views/navigation/navigation_viewmodel.dart @@ -32,6 +32,7 @@ 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,