Don't recreate the SettingsActivity when the highlight option changes
This commit is contained in:
parent
e8cd9bbd6d
commit
cdf567959e
1 changed files with 1 additions and 2 deletions
|
@ -122,8 +122,7 @@ public class SettingsActivity extends BaseActivity
|
||||||
|
|
||||||
if (key.equals(getString(R.string.settings_key_theme)) ||
|
if (key.equals(getString(R.string.settings_key_theme)) ||
|
||||||
key.equals(getString(R.string.settings_key_locale)) ||
|
key.equals(getString(R.string.settings_key_locale)) ||
|
||||||
key.equals(getString(R.string.settings_key_special_features)) ||
|
key.equals(getString(R.string.settings_key_special_features))) {
|
||||||
key.equals(getString(R.string.settings_key_label_highlight_token))) {
|
|
||||||
recreate();
|
recreate();
|
||||||
} else if(key.equals(getString(R.string.settings_key_encryption))) {
|
} else if(key.equals(getString(R.string.settings_key_encryption))) {
|
||||||
if (settings.getEncryption() != EncryptionType.PASSWORD) {
|
if (settings.getEncryption() != EncryptionType.PASSWORD) {
|
||||||
|
|
Loading…
Reference in a new issue