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

nightly-build-test
Sawyer Blatz 5 years ago committed by GitHub
parent 9901514766
commit 83312b38aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save