Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's needed or desired to commit this file. Try adding it to .gitignore instead, or stage a subset of files before committing.

"permissions": {
"allow": [
"Bash(flutter build:*)",
"Bash(curl:*)",
"Bash(/c/tools/nuget.exe help:*)",
"Bash(rustc:*)",
"Bash(ls:*)"
]
}
}
22 changes: 13 additions & 9 deletions lib/pages/search/search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

behavior: HitTestBehavior.translucent,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think translucent is what we want here (I think the default is correct). See the options here:

https://api.flutter.dev/flutter/rendering/HitTestBehavior.html

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(),
},
),
),
),
],
Expand Down
Binary file added rustup-init.exe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this file as well.

Binary file not shown.