fix notifications fallback color

This commit is contained in:
kosyak 2024-02-28 19:24:30 +01:00
parent 16a834e0eb
commit 1726fc86e3

View file

@ -832,7 +832,7 @@ public class NotificationService {
private void setNotificationColor(final Builder mBuilder) {
Integer primaryColorOverride = ThemeHelper.getOverriddenPrimaryColor(mXmppConnectionService);
mBuilder.setColor(primaryColorOverride == null ? ContextCompat.getColor(mXmppConnectionService, R.color.green600) : primaryColorOverride);
mBuilder.setColor(primaryColorOverride == null ? ContextCompat.getColor(mXmppConnectionService, R.color.primary_default) : primaryColorOverride);
}
public void updateNotification() {