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

[fenix] BrowserToolbar UrlCommitListener requires Boolean return

This commit is contained in:
Colin Lee 2019-02-16 17:28:38 -06:00
parent ba8052adf7
commit 06a8f5630d

View File

@ -37,7 +37,10 @@ class ToolbarUIView(
init { init {
view.apply { view.apply {
setOnUrlCommitListener { actionEmitter.onNext(SearchAction.UrlCommitted(it)) } setOnUrlCommitListener {
actionEmitter.onNext(SearchAction.UrlCommitted(it))
true
}
onUrlClicked = { onUrlClicked = {
actionEmitter.onNext(SearchAction.ToolbarTapped) actionEmitter.onNext(SearchAction.ToolbarTapped)
false false