fix selected key tile background color

This commit is contained in:
Adam Velebil 2024-01-23 14:03:21 +01:00
parent e834c40c69
commit dfdf82805c
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -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,