Add setting to change from 3 digit group size to 2 digit group size

This commit is contained in:
Lukas Marchesi 2020-04-23 23:19:38 +02:00
parent 09065c705b
commit 00e2e90aa7
8 changed files with 45 additions and 5 deletions

View file

@ -61,6 +61,14 @@ public class Preferences {
return _prefs.getBoolean("pref_account_name", true);
}
public int getCodeGroupSize() {
if (_prefs.getBoolean("pref_code_group_size", false)) {
return 2;
} else {
return 3;
}
}
public boolean isIntroDone() {
return _prefs.getBoolean("pref_intro", false);
}