Update FragmentOptionsBehavior.java

pull/178/head
Marcel Bokhorst 5 years ago committed by GitHub
parent 1d34bd6907
commit 79988c6815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -405,7 +405,6 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
swConversationActionsReplies.setChecked(prefs.getBoolean("conversation_actions_replies", true)); swConversationActionsReplies.setChecked(prefs.getBoolean("conversation_actions_replies", true));
swConversationActionsReplies.setEnabled(swConversationActions.isChecked()); swConversationActionsReplies.setEnabled(swConversationActions.isChecked());
swLanguageDetection.setChecked(prefs.getBoolean("language_detection", false)); swLanguageDetection.setChecked(prefs.getBoolean("language_detection", false));
swLanguageDetection.setVisibility(Build.VERSION.SDK_INT < Build.VERSION_CODES.Q ? View.GONE : View.VISIBLE);
int default_snooze = prefs.getInt("default_snooze", 1); int default_snooze = prefs.getInt("default_snooze", 1);
etDefaultSnooze.setText(default_snooze == 1 ? null : Integer.toString(default_snooze)); etDefaultSnooze.setText(default_snooze == 1 ? null : Integer.toString(default_snooze));

Loading…
Cancel
Save