mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
Small behavior fix
This commit is contained in:
parent
7c7c6742f0
commit
553ed9e5a2
1 changed files with 2 additions and 3 deletions
|
@ -233,7 +233,6 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
|||
}
|
||||
});
|
||||
|
||||
swConversationActions.setEnabled(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q);
|
||||
swConversationActions.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
@ -242,7 +241,6 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
|||
}
|
||||
});
|
||||
|
||||
swConversationActionsReplies.setEnabled(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q);
|
||||
swConversationActionsReplies.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
@ -707,8 +705,9 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
|||
swSyncOnlaunch.setChecked(prefs.getBoolean("sync_on_launch", false));
|
||||
swDoubleBack.setChecked(prefs.getBoolean("double_back", false));
|
||||
swConversationActions.setChecked(prefs.getBoolean("conversation_actions", Helper.isGoogle()));
|
||||
swConversationActions.setEnabled(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q);
|
||||
swConversationActionsReplies.setChecked(prefs.getBoolean("conversation_actions_replies", true));
|
||||
swConversationActionsReplies.setEnabled(swConversationActions.isChecked());
|
||||
swConversationActionsReplies.setEnabled(swConversationActions.isChecked() && Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q);
|
||||
swLanguageDetection.setChecked(prefs.getBoolean("language_detection", false));
|
||||
|
||||
int default_snooze = prefs.getInt("default_snooze", 1);
|
||||
|
|
Loading…
Reference in a new issue