mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-23 10:15:58 +01:00
Disable task description by default
This commit is contained in:
@@ -392,7 +392,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
prefs.registerOnSharedPreferenceChangeListener(this);
|
||||
|
||||
try {
|
||||
boolean task_description = prefs.getBoolean("task_description", true);
|
||||
boolean task_description = prefs.getBoolean("task_description", false);
|
||||
if (task_description) {
|
||||
int colorPrimary = Helper.resolveColor(this, androidx.appcompat.R.attr.colorPrimaryDark);
|
||||
if (colorPrimary != 0 && Color.alpha(colorPrimary) != 255) {
|
||||
|
||||
@@ -2582,7 +2582,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
swAutostart.setChecked(Helper.isComponentEnabled(getContext(), ReceiverAutoStart.class));
|
||||
swEmergency.setChecked(prefs.getBoolean("emergency_file", true));
|
||||
swWorkManager.setChecked(prefs.getBoolean("work_manager", true));
|
||||
swTaskDescription.setChecked(prefs.getBoolean("task_description", true));
|
||||
swTaskDescription.setChecked(prefs.getBoolean("task_description", false));
|
||||
swExternalStorage.setChecked(prefs.getBoolean("external_storage", false));
|
||||
|
||||
swIntegrity.setChecked(prefs.getBoolean("sqlite_integrity_check", false));
|
||||
|
||||
Reference in New Issue
Block a user