Add "Delta Chat" to the recognized applications and as generic chat

This commit is contained in:
Daniele Gobbetti 2024-04-12 09:21:54 +02:00
parent cd8e9b5ea6
commit 1a8689d4bf
2 changed files with 6 additions and 1 deletions

View File

@ -179,6 +179,9 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
// COL Reminder
put("com.colapps.reminder", NotificationType.COL_REMINDER);
//Deltachat
put("com.b44t.messenger", NotificationType.DELTACHAT);
}
}

View File

@ -73,7 +73,8 @@ public enum NotificationType {
WECHAT(PebbleIconID.NOTIFICATION_WECHAT, PebbleColor.KellyGreen),
WHATSAPP(PebbleIconID.NOTIFICATION_WHATSAPP, PebbleColor.IslamicGreen),
YAHOO_MAIL(PebbleIconID.NOTIFICATION_YAHOO_MAIL, PebbleColor.Indigo),
COL_REMINDER(PebbleIconID.NOTIFICATION_REMINDER, PebbleColor.IslamicGreen);
COL_REMINDER(PebbleIconID.NOTIFICATION_REMINDER, PebbleColor.IslamicGreen),
DELTACHAT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.BlueMoon);
// Note: if you add any more constants, update all clients as well
@ -130,6 +131,7 @@ public enum NotificationType {
case LINE:
case VIBER:
case DISCORD:
case DELTACHAT:
return "generic_chat";
case GMAIL:
case GOOGLE_INBOX: