mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-02-03 23:52:52 +00:00
fix: dismiss keyboard on tap in search page (iOS)
This commit is contained in:
parent
826c8e4dd6
commit
530bb1ae1a
11
.claude/settings.local.json
Normal file
11
.claude/settings.local.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(flutter build:*)",
|
||||
"Bash(curl:*)",
|
||||
"Bash(/c/tools/nuget.exe help:*)",
|
||||
"Bash(rustc:*)",
|
||||
"Bash(ls:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -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(),
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
BIN
rustup-init.exe
Normal file
BIN
rustup-init.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user