Fixed desktop switch thumb color
This commit is contained in:
parent
9654b1b96c
commit
4cc9e7d4c3
|
@ -97,6 +97,10 @@ Widget toggle(BuildContext context, String text, bool value,
|
|||
.colorScheme
|
||||
.primary
|
||||
.withAlpha(150))
|
||||
: !(prefs?.getBool("useDeviceTheme") ?? false) &&
|
||||
value
|
||||
? WidgetStatePropertyAll(
|
||||
Theme.of(context).colorScheme.secondary)
|
||||
: null)))
|
||||
]),
|
||||
]),
|
||||
|
|
Loading…
Reference in New Issue