From 91760037175d5b2fe3e1b498f943160947dab4db Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Sat, 31 Jan 2026 12:44:06 +0100 Subject: [PATCH] fix: consistent focus background on library screen close #352 --- lib/screens/libraries/libraries_screen.dart | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/screens/libraries/libraries_screen.dart b/lib/screens/libraries/libraries_screen.dart index 49b9529a..5e904614 100644 --- a/lib/screens/libraries/libraries_screen.dart +++ b/lib/screens/libraries/libraries_screen.dart @@ -1158,9 +1158,7 @@ class _LibrariesScreenState extends State 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 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(