Skip to content

Commit

Permalink
Fix for the navigation bar appearing above content. (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano-7 authored Feb 9, 2025
2 parents 480ac48 + 4ec1472 commit 9b56549
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/uni_app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,10 @@ Future<String> firstRoute() async {
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();

await SystemChrome.setEnabledSystemUIMode(
SystemUiMode.immersiveSticky,
overlays: [
SystemUiOverlay.top,
SystemUiOverlay.bottom,
],
);
SystemChrome.setSystemUIOverlayStyle(
const SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
statusBarIconBrightness: Brightness.light,
systemNavigationBarColor: Colors.transparent,
systemNavigationBarIconBrightness: Brightness.light,
),
);

Expand Down

0 comments on commit 9b56549

Please sign in to comment.