mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 08:49:01 +03:00
fix: dark mode appbar color (#24976)
* fix: dark mode appbar color * update: using scrolledUnderElevation for sufaceTint change --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user