Fix tap to reveal migration

This commit is contained in:
Jakob Nixdorf 2020-05-25 15:51:24 +02:00
parent a847a43acf
commit 73f8c14ec3
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -89,7 +89,9 @@ public class Settings {
} }
if (settings.contains(getResString(R.string.settings_key_tap_to_reveal))) { if (settings.contains(getResString(R.string.settings_key_tap_to_reveal))) {
setString(R.string.settings_key_tap_single, Constants.TapMode.REVEAL.toString().toLowerCase(Locale.ENGLISH)); if (getBoolean(R.string.settings_key_tap_to_reveal, false)) {
setString(R.string.settings_key_tap_single, Constants.TapMode.REVEAL.toString().toLowerCase(Locale.ENGLISH));
}
remove(R.string.settings_key_tap_to_reveal); remove(R.string.settings_key_tap_to_reveal);
} }