Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisPhilippeHeon committed Nov 11, 2024
1 parent 0775c24 commit fcb42d0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@ Future<void> 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;

Expand Down Expand Up @@ -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,
));
}
}

0 comments on commit fcb42d0

Please sign in to comment.