Add ability to search in account names

This commit is contained in:
Michael Schättgen 2019-09-11 20:51:02 +02:00
parent 1d513441c6
commit 445410fcd7
7 changed files with 38 additions and 1 deletions

View file

@ -19,6 +19,8 @@ public class Preferences {
return _prefs.getBoolean("pref_tap_to_reveal", false);
}
public boolean isSearchAccountNameEnabled() { return _prefs.getBoolean("pref_search_names", false); }
public boolean isSecureScreenEnabled() {
// screen security should be enabled by default, but not for debug builds
return _prefs.getBoolean("pref_secure_screen", !BuildConfig.DEBUG);