Skip to content

Commit f229e71

Browse files
committed
Encompass root of widget tree in SafeArea to ensure edge-to-edge displays for all users
1 parent 39402c5 commit f229e71

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ErmisClient/Mobile/ermis_client/lib/main.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,13 @@ class _MyAppState extends State<_MyApp> with WidgetsBindingObserver {
148148

149149
@override
150150
Widget build(BuildContext context) {
151-
return AppTheme(
152-
darkAppColors: widget.darkAppColors,
153-
lightAppColors: widget.lightAppColors,
154-
theme: widget.themeMode,
155-
home: const SplashScreen(),
151+
return SafeArea(
152+
child: AppTheme(
153+
darkAppColors: widget.darkAppColors,
154+
lightAppColors: widget.lightAppColors,
155+
theme: widget.themeMode,
156+
home: const SplashScreen(),
157+
),
156158
);
157159
}
158160
}

0 commit comments

Comments
 (0)