forked from firka/student-legacy
fixed background color in theme preview
This commit is contained in:
parent
8451983163
commit
493adaa5f2
@ -337,7 +337,8 @@ class _PremiumCustomAccentColorSettingState
|
|||||||
0.75
|
0.75
|
||||||
],
|
],
|
||||||
colors: [
|
colors: [
|
||||||
Theme.of(context).colorScheme.background,
|
settings.customBackgroundColor
|
||||||
|
?? Theme.of(context).colorScheme.background,
|
||||||
isBackgroundDifferent
|
isBackgroundDifferent
|
||||||
? HSVColor.fromColor(Theme.of(context)
|
? HSVColor.fromColor(Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
|
Loading…
x
Reference in New Issue
Block a user