fix: consistent focus background on library screen

close #352
This commit is contained in:
edde746
2026-01-31 12:44:06 +01:00
parent 2e15d2b4e9
commit 9176003717
+2 -6
View File
@@ -1158,9 +1158,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
onKeyEvent: _handleEditKeyEvent,
child: Container(
decoration: BoxDecoration(
color: _isEditFocused
? Theme.of(context).colorScheme.surfaceContainerHighest
: Colors.transparent,
color: _isEditFocused ? Colors.white.withValues(alpha: 0.2) : Colors.transparent,
borderRadius: BorderRadius.circular(20),
),
child: IconButton(
@@ -1175,9 +1173,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
onKeyEvent: _handleRefreshKeyEvent,
child: Container(
decoration: BoxDecoration(
color: _isRefreshFocused
? Theme.of(context).colorScheme.surfaceContainerHighest
: Colors.transparent,
color: _isRefreshFocused ? Colors.white.withValues(alpha: 0.2) : Colors.transparent,
borderRadius: BorderRadius.circular(20),
),
child: IconButton(