diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 00000000..75365b2a --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,11 @@ +{ + "permissions": { + "allow": [ + "Bash(flutter build:*)", + "Bash(curl:*)", + "Bash(/c/tools/nuget.exe help:*)", + "Bash(rustc:*)", + "Bash(ls:*)" + ] + } +} diff --git a/lib/pages/search/search.dart b/lib/pages/search/search.dart index cb4f4a0b..d467b077 100644 --- a/lib/pages/search/search.dart +++ b/lib/pages/search/search.dart @@ -225,15 +225,19 @@ class SearchPage extends HookConsumerWidget { ], ), Expanded( - child: AnimatedSwitcher( - duration: const Duration(milliseconds: 300), - child: switch (selectedChip.value) { - "tracks" => const SearchPageTracksTab(), - "albums" => const SearchPageAlbumsTab(), - "artists" => const SearchPageArtistsTab(), - "playlists" => const SearchPagePlaylistsTab(), - _ => const SearchPageAllTab(), - }, + child: GestureDetector( + onTap: () => FocusScope.of(context).unfocus(), + behavior: HitTestBehavior.translucent, + child: AnimatedSwitcher( + duration: const Duration(milliseconds: 300), + child: switch (selectedChip.value) { + "tracks" => const SearchPageTracksTab(), + "albums" => const SearchPageAlbumsTab(), + "artists" => const SearchPageArtistsTab(), + "playlists" => const SearchPagePlaylistsTab(), + _ => const SearchPageAllTab(), + }, + ), ), ), ], diff --git a/rustup-init.exe b/rustup-init.exe new file mode 100644 index 00000000..111a0590 Binary files /dev/null and b/rustup-init.exe differ