mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 12:08:56 +01:00
Fix browse search query display and keyboard focus (#8781)
This commit is contained in:
@@ -319,6 +319,7 @@ fun SearchToolbar(
|
||||
)
|
||||
LaunchedEffect(searchClickCount) {
|
||||
if (searchQuery == null) return@LaunchedEffect
|
||||
if (searchClickCount == 0 && searchQuery.isNotEmpty()) return@LaunchedEffect
|
||||
try {
|
||||
focusRequester.requestFocus()
|
||||
} catch (_: Throwable) {
|
||||
|
||||
Reference in New Issue
Block a user