Increase bringCursorIntoView workaround delay

This commit is contained in:
FooIbar committed 2024-03-09 14:19:00 +08:00
1 parent 1aa750d676
commit eb45068df3
1 file changed
+1 -1
@@ -277,7 +277,7 @@ fun SearchBarScreen(
if (active) {
val hasText by searchFieldState.textAsFlow().mapIndexed { index, text ->
// Workaround for https://github.com/FooIbar/EhViewer/issues/715
if (index == 0) delay(500)
if (index == 0) delay(700)
text.isNotEmpty()
}.collectAsState(false)
if (hasText) {