[fenix] For https://github.com/mozilla-mobile/fenix/issues/17377 - Fix for empty awesomeBar on searchFragment open (https://github.com/mozilla-mobile/fenix/pull/17435)
The awesomeBar was set to stay hidden for the first consumeFrom(store) if the SearchDialogFragment.kt. However, recent changes send an additional store update when the view is created. To work around it we can take a look at AwesomeBarView.update(), we see that the awesomeBar suggestions get provided only if the query != url. So we can use the same method to keep the awesomeBar hidden until the user changes anything in the url.pull/600/head
parent
92c425a71c
commit
b309321f54
Loading…
Reference in New Issue