From fcb42d03e6344e7029ba96716d0a5bcc9a43ef2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20He=CC=81on?= Date: Mon, 11 Nov 2024 13:50:56 -0500 Subject: [PATCH] requested changes --- lib/main.dart | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 7fc7b2b80..46c1748dc 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -58,17 +58,6 @@ Future main() async { } class ETSMobile extends StatelessWidget { - void addEdgeToEdgeEffect() { - SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle( - systemNavigationBarColor: Colors.transparent, - systemNavigationBarContrastEnforced: false, - systemNavigationBarIconBrightness: Brightness.dark, - statusBarColor: Colors.transparent, - statusBarBrightness: Brightness.light, - statusBarIconBrightness: Brightness.dark, - )); - } - /// Manage the settings final SettingsManager settingsManager; @@ -124,4 +113,15 @@ class ETSMobile extends StatelessWidget { }), ); } + + void addEdgeToEdgeEffect() { + SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle( + systemNavigationBarColor: Colors.transparent, + systemNavigationBarContrastEnforced: false, + systemNavigationBarIconBrightness: Brightness.dark, + statusBarColor: Colors.transparent, + statusBarBrightness: Brightness.light, + statusBarIconBrightness: Brightness.dark, + )); + } }