2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #3175: Correctly grabs focus in search fragment (#3938)

This commit is contained in:
Sawyer Blatz 2019-07-08 14:44:30 -07:00 committed by GitHub
parent 9901514766
commit 83312b38aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,9 @@ class ToolbarUIView(
updateEditingState(newState)
}
if (!newState.focused) {
if (newState.focused) {
view.focus()
} else {
view.clearFocus()
}