mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 15:46:34 +02:00
Restart to apply suppress notification options
This commit is contained in:
@@ -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());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -768,7 +768,7 @@ public class HtmlHelper {
|
||||
}
|
||||
}
|
||||
|
||||
if (color == null || color == Color.TRANSPARENT) {
|
||||
if (color == null) {
|
||||
element.removeAttr(key);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user