From 20cab5a9492db9ef708923eef133c1b209975e3a Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Thu, 3 Feb 2022 22:22:17 -0600 Subject: [PATCH] Change color of dark theme for UI overlay --- mobile/lib/modules/home/ui/immich_sliver_appbar.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mobile/lib/modules/home/ui/immich_sliver_appbar.dart b/mobile/lib/modules/home/ui/immich_sliver_appbar.dart index c09228c7e4..f009a6f443 100644 --- a/mobile/lib/modules/home/ui/immich_sliver_appbar.dart +++ b/mobile/lib/modules/home/ui/immich_sliver_appbar.dart @@ -100,7 +100,14 @@ class ImmichSliverAppBar extends ConsumerWidget { ], ), ], - systemOverlayStyle: SystemUiOverlayStyle.light, + systemOverlayStyle: const SystemUiOverlayStyle( + // Status bar color + statusBarColor: Colors.indigo, + + // Status bar brightness (optional) + statusBarIconBrightness: Brightness.dark, // For Android (dark icons) + statusBarBrightness: Brightness.light, // For iOS (dark icons) + ), ), ); }