From 493adaa5f25acaa4b6be0fe1e0afe0bd3ddf5c93 Mon Sep 17 00:00:00 2001 From: SledDev <90392654+sleddev@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:15:09 +0200 Subject: [PATCH] fixed background color in theme preview --- filcnaplo_premium/lib/ui/mobile/settings/theme.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filcnaplo_premium/lib/ui/mobile/settings/theme.dart b/filcnaplo_premium/lib/ui/mobile/settings/theme.dart index 1d2b3b1..c9ffb30 100644 --- a/filcnaplo_premium/lib/ui/mobile/settings/theme.dart +++ b/filcnaplo_premium/lib/ui/mobile/settings/theme.dart @@ -337,7 +337,8 @@ class _PremiumCustomAccentColorSettingState 0.75 ], colors: [ - Theme.of(context).colorScheme.background, + settings.customBackgroundColor + ?? Theme.of(context).colorScheme.background, isBackgroundDifferent ? HSVColor.fromColor(Theme.of(context) .colorScheme