mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/507 - Leaves a comment to explain the current state
This commit is contained in:
parent
dfb4f29848
commit
fb009c7f0a
@ -58,10 +58,6 @@ class ToolbarUIView(
|
|||||||
url = text
|
url = text
|
||||||
actionEmitter.onNext(SearchAction.TextChanged(text))
|
actionEmitter.onNext(SearchAction.TextChanged(text))
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onStopEditing() {
|
|
||||||
// actionEmitter.onNext(SearchAction.UrlCommitted(url))
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,6 +98,11 @@ class SearchFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Issue: https://github.com/mozilla-mobile/fenix/issues/626
|
||||||
|
// Currently we were kind of forcing all this logic through the Toolbar Feature.
|
||||||
|
// But since we cannot actually load a page without an available GeckoSession
|
||||||
|
// we have to wait until after we navigate to call the use case.
|
||||||
|
// We should move this logic into a place that makes more sense.
|
||||||
private fun load(text: String) {
|
private fun load(text: String) {
|
||||||
val sessionId = SearchFragmentArgs.fromBundle(arguments!!).sessionId
|
val sessionId = SearchFragmentArgs.fromBundle(arguments!!).sessionId
|
||||||
val isPrivate = SearchFragmentArgs.fromBundle(arguments!!).isPrivateTab
|
val isPrivate = SearchFragmentArgs.fromBundle(arguments!!).isPrivateTab
|
||||||
|
Loading…
Reference in New Issue
Block a user