diff --git a/app/src/main/java/eu/faircode/email/ActivityWidget.java b/app/src/main/java/eu/faircode/email/ActivityWidget.java index 0bd9fb9dca..08250c623c 100644 --- a/app/src/main/java/eu/faircode/email/ActivityWidget.java +++ b/app/src/main/java/eu/faircode/email/ActivityWidget.java @@ -120,9 +120,10 @@ public class ActivityWidget extends ActivityBase { setBackground(); } }) - .setNegativeButton(R.string.title_reset, new DialogInterface.OnClickListener() { + .setNegativeButton(R.string.title_transparent, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { + cbSemiTransparent.setChecked(false); btnColor.setColor(Color.TRANSPARENT); setBackground(); } diff --git a/app/src/main/java/eu/faircode/email/ActivityWidgetSync.java b/app/src/main/java/eu/faircode/email/ActivityWidgetSync.java index 4abafc8eb4..37e608e689 100644 --- a/app/src/main/java/eu/faircode/email/ActivityWidgetSync.java +++ b/app/src/main/java/eu/faircode/email/ActivityWidgetSync.java @@ -84,9 +84,10 @@ public class ActivityWidgetSync extends ActivityBase { btnColor.setColor(selectedColor); } }) - .setNegativeButton(R.string.title_reset, new DialogInterface.OnClickListener() { + .setNegativeButton(R.string.title_transparent, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { + cbSemiTransparent.setChecked(false); btnColor.setColor(Color.TRANSPARENT); } }) diff --git a/app/src/main/java/eu/faircode/email/ActivityWidgetUnified.java b/app/src/main/java/eu/faircode/email/ActivityWidgetUnified.java index bafe6a104c..c8f2cfe4f5 100644 --- a/app/src/main/java/eu/faircode/email/ActivityWidgetUnified.java +++ b/app/src/main/java/eu/faircode/email/ActivityWidgetUnified.java @@ -118,9 +118,10 @@ public class ActivityWidgetUnified extends ActivityBase { btnColor.setColor(selectedColor); } }) - .setNegativeButton(R.string.title_reset, new DialogInterface.OnClickListener() { + .setNegativeButton(R.string.title_transparent, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { + cbSemiTransparent.setChecked(false); btnColor.setColor(Color.TRANSPARENT); } }) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8ba36a0bda..81c02c18c8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -680,6 +680,7 @@ Frequency of refreshing the connection for push messages or frequency of checking for new messages Disable this only in case of empty messages or corrupt attachments Color + Transparent Synchronize manually Separate notifications Swipe left