Closes #2142: Enable private browsing button is focused instead of Search or address
This commit is contained in:
parent
c2e6e25bef
commit
d5eeadda66
|
@ -265,6 +265,7 @@ class HomeFragment : Fragment(), AccountObserver {
|
|||
nav(R.id.homeFragment, directions)
|
||||
requireComponents.analytics.metrics.track(Event.SearchBarTapped(Event.SearchBarTapped.Source.HOME))
|
||||
}
|
||||
view.toolbar.requestFocus()
|
||||
|
||||
val isPrivate = (activity as HomeActivity).browsingModeManager.isPrivate
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
android:layout_marginStart="47dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:padding="12dp"
|
||||
android:text="@string/search_hint"
|
||||
android:textColor="?primaryText"
|
||||
|
|
Loading…
Reference in New Issue
Block a user