mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
fix selected key tile background color
This commit is contained in:
parent
e834c40c69
commit
dfdf82805c
@ -233,7 +233,7 @@ class _DeviceRowState extends ConsumerState<_DeviceRow> {
|
|||||||
colorScheme: colorScheme,
|
colorScheme: colorScheme,
|
||||||
listTileTheme: themeData.listTileTheme.copyWith(
|
listTileTheme: themeData.listTileTheme.copyWith(
|
||||||
tileColor: widget.background != null
|
tileColor: widget.background != null
|
||||||
? widget.background!
|
? colorScheme.primary
|
||||||
: themeData.colorScheme.primary,
|
: themeData.colorScheme.primary,
|
||||||
textColor: widget.selected ? colorScheme.onPrimary : null,
|
textColor: widget.selected ? colorScheme.onPrimary : null,
|
||||||
iconColor: widget.selected ? colorScheme.onPrimary : null,
|
iconColor: widget.selected ? colorScheme.onPrimary : null,
|
||||||
|
Loading…
Reference in New Issue
Block a user