Skip to content

High performance self-hosted photo and video management solution.

fix: dark mode appbar color (#24976)

Akash Karmakared9448a6eebc
diff --git a/mobile/lib/theme/theme_data.dart b/mobile/lib/theme/theme_data.dart
index 006dfb97ec..2a6ca3a8da 100644
--- a/mobile/lib/theme/theme_data.dart
+++ b/mobile/lib/theme/theme_data.dart
@@ -40,7 +40,7 @@ ThemeData getThemeData({required ColorScheme colorScheme, required Locale locale
fontWeight: FontWeight.w600,
fontSize: 18,
),
- backgroundColor: isDark ? colorScheme.surfaceContainer : colorScheme.surface,
+ backgroundColor: colorScheme.surface,
foregroundColor: colorScheme.primary,
elevation: 0,
scrolledUnderElevation: 0,
diff --git a/mobile/lib/widgets/common/immich_sliver_app_bar.dart b/mobile/lib/widgets/common/immich_sliver_app_bar.dart
index dd985ebfe2..4278dfa29d 100644
--- a/mobile/lib/widgets/common/immich_sliver_app_bar.dart
+++ b/mobile/lib/widgets/common/immich_sliver_app_bar.dart
@@ -50,6 +50,10 @@ class ImmichSliverAppBar extends ConsumerWidget {
duration: Durations.medium1,
opacity: isMultiSelectEnabled ? 0 : 1,
sliver: SliverAppBar(
+ backgroundColor: context.colorScheme.surface,
+ surfaceTintColor: context.colorScheme.surfaceTint,
+ elevation: 0,
+ scrolledUnderElevation: 1.0,
floating: floating,
pinned: pinned,
snap: snap,