mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 16:32:01 +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,
|
||||
listTileTheme: themeData.listTileTheme.copyWith(
|
||||
tileColor: widget.background != null
|
||||
? widget.background!
|
||||
? colorScheme.primary
|
||||
: themeData.colorScheme.primary,
|
||||
textColor: widget.selected ? colorScheme.onPrimary : null,
|
||||
iconColor: widget.selected ? colorScheme.onPrimary : null,
|
||||
|
Loading…
Reference in New Issue
Block a user