Don't recreate the SettingsActivity when the highlight option changes

This commit is contained in:
Jakob Nixdorf 2019-10-31 07:25:42 +01:00
parent e8cd9bbd6d
commit cdf567959e
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -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) {