diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java index 6baff7b582..4e4c008e2f 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java @@ -494,6 +494,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared @Override public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { prefs.edit().putBoolean("notify_suppress_in_call", checked).apply(); + ServiceSynchronize.restart(compoundButton.getContext()); } }); @@ -504,6 +505,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared @Override public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { prefs.edit().putBoolean("notify_suppress_in_car", checked).apply(); + ServiceSynchronize.restart(compoundButton.getContext()); } }); diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 9aa1287784..a7d78e90a2 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -768,7 +768,7 @@ public class HtmlHelper { } } - if (color == null || color == Color.TRANSPARENT) { + if (color == null) { element.removeAttr(key); continue; }