Add an option to copy tokens on tap (and disable it by default)

This commit is contained in:
Alexander Bakker 2020-05-25 15:49:37 +02:00
parent 95d5b4afa1
commit d49d42254b
7 changed files with 45 additions and 3 deletions

View file

@ -167,4 +167,8 @@ public class Preferences {
public void setIsTimeSyncWarningEnabled(boolean enabled) {
_prefs.edit().putBoolean("pref_warn_time_sync", enabled).apply();
}
public boolean isCopyOnTapEnabled() {
return _prefs.getBoolean("pref_copy_on_tap", false);
}
}