mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Changed default of biometric notify
This commit is contained in:
parent
25f8ed7d49
commit
70e931681e
5 changed files with 7 additions and 3 deletions
|
@ -421,6 +421,9 @@ public class ApplicationEx extends Application
|
|||
} else if (version < 1525) {
|
||||
if (!prefs.contains("download"))
|
||||
editor.putInt("download", 512 * 1024);
|
||||
} else if (version < 1533) {
|
||||
if (!prefs.contains("biometrics_notify"))
|
||||
editor.putBoolean("biometrics_notify", false);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
||||
|
|
|
@ -3813,7 +3813,7 @@ class Core {
|
|||
boolean wearable_preview = prefs.getBoolean("wearable_preview", false);
|
||||
boolean biometrics = prefs.getBoolean("biometrics", false);
|
||||
String pin = prefs.getString("pin", null);
|
||||
boolean biometric_notify = prefs.getBoolean("biometrics_notify", false);
|
||||
boolean biometric_notify = prefs.getBoolean("biometrics_notify", true);
|
||||
boolean pro = ActivityBilling.isPro(context);
|
||||
|
||||
boolean redacted = ((biometrics || !TextUtils.isEmpty(pin)) && !biometric_notify);
|
||||
|
|
|
@ -560,7 +560,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
|||
swNotifyPreviewOnly.setChecked(prefs.getBoolean("notify_preview_only", false));
|
||||
swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", false));
|
||||
swMessagingStyle.setChecked(prefs.getBoolean("notify_messaging", false));
|
||||
swBiometricsNotify.setChecked(prefs.getBoolean("biometrics_notify", false));
|
||||
swBiometricsNotify.setChecked(prefs.getBoolean("biometrics_notify", true));
|
||||
swAlertOnce.setChecked(!prefs.getBoolean("alert_once", true));
|
||||
|
||||
enableOptions();
|
||||
|
|
|
@ -607,6 +607,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:checked="true"
|
||||
android:text="@string/title_advanced_biometrics_notify"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
@ -580,7 +580,7 @@
|
|||
<string name="title_advanced_metered_warning">Disabling this option will disable receiving and sending messages on mobile internet connections</string>
|
||||
<string name="title_advanced_rlah_hint">Assuming no roaming within the EU</string>
|
||||
<string name="title_advanced_tcp_keep_alive_hint">Enabling this can cause connection problems on some devices</string>
|
||||
<string name="title_advanced_validate_hint">This can result in messages not being synchronized, for example when using a VPN, but also in other situations</string>
|
||||
<string name="title_advanced_validate_hint">This can result in not synchronizing messages, for example when using a VPN, but also in other situations</string>
|
||||
<string name="title_advanced_timeout_hint">The read/write timeout will be set to the double of the connection timeout. Higher values will result in more battery use.</string>
|
||||
<string name="title_advanced_ssl_harden_hint">Enabling this will disable weak SSL protocols and ciphers, which can lead to connection problems</string>
|
||||
<string name="title_advanced_roaming_hint">Messages headers will always be fetched when roaming. You can use the device\'s roaming setting to disable internet while roaming.</string>
|
||||
|
|
Loading…
Reference in a new issue