2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

Closes #1972: Sets search term on browserToolbar (#1990)

This commit is contained in:
Sawyer Blatz 2019-04-24 11:28:31 -07:00 committed by GitHub
parent f4bad1c060
commit eadce68e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,7 @@ class ToolbarUIView(
private fun updateEditingState(newState: SearchState) { private fun updateEditingState(newState: SearchState) {
if (newState.isEditing) { if (newState.isEditing) {
view.setSearchTerms(newState.searchTerm)
view.url = newState.query view.url = newState.query
view.editMode() view.editMode()
} else { } else {