mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Added Focus Search on App Start
Renamed key Removed unnecessary code
This commit is contained in:
parent
adfc472a39
commit
0652eaa5cd
4 changed files with 26 additions and 2 deletions
|
@ -257,6 +257,14 @@ public class Preferences {
|
|||
return null;
|
||||
}
|
||||
|
||||
public boolean getFocusSearchEnabled() {
|
||||
return _prefs.getBoolean("pref_focus_search", false);
|
||||
}
|
||||
|
||||
public void setFocusSearch(boolean enabled) {
|
||||
_prefs.edit().putBoolean("pref_focus_search", enabled).apply();
|
||||
}
|
||||
|
||||
public void setBackupsLocation(Uri location) {
|
||||
_prefs.edit().putString("pref_backups_location", location == null ? null : location.toString()).apply();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue