Add option to automatically launch the keyboard when opening the search
Fixes #26
This commit is contained in:
@@ -104,6 +104,7 @@ fun createFactorySettings(context: Context): Settings {
|
||||
.setSearchBar(
|
||||
Settings.SearchBarSettings.newBuilder()
|
||||
.setSearchBarStyle(Settings.SearchBarSettings.SearchBarStyle.Transparent)
|
||||
.setAutoFocus(false)
|
||||
.build()
|
||||
)
|
||||
.setIcons(
|
||||
|
||||
@@ -10,5 +10,6 @@ class Migration_1_2: VersionedMigration(1, 2) {
|
||||
.setHideNavBar(false)
|
||||
.setHideStatusBar(false)
|
||||
)
|
||||
.setSearchBar(builder.searchBar.toBuilder().setAutoFocus(false))
|
||||
}
|
||||
}
|
||||
@@ -130,6 +130,7 @@ message Settings {
|
||||
Hidden = 2;
|
||||
}
|
||||
SearchBarStyle search_bar_style = 1;
|
||||
bool auto_focus = 2;
|
||||
}
|
||||
SearchBarSettings search_bar = 20;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user