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:
parent
ba8052adf7
commit
06a8f5630d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user