mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Pebble: Support Signal icon with 2025 models
This commit is contained in:
+3
@@ -138,4 +138,7 @@ public final class PebbleIconID {
|
||||
public static final int NOTIFICATION_UNIFI_PROTECT = 131;
|
||||
public static final int NOTIFICATION_ZOOM = 132;
|
||||
public static final int NOTIFICATION_EBAY = 133;
|
||||
public static final int NOTIFICATION_YOUTUBE = 134;
|
||||
public static final int NOTIFICATION_SIGNAL = 135;
|
||||
public static final int NOTIFICATION_TWITCH = 136;
|
||||
}
|
||||
|
||||
+2
-1
@@ -73,9 +73,10 @@ public class PebbleNotification {
|
||||
return switch (notificationType) {
|
||||
case AMAZON -> PebbleIconID.NOTIFICATION_AMAZON;
|
||||
case BBM -> PebbleIconID.NOTIFICATION_BLACKBERRY_MESSENGER;
|
||||
case CONVERSATIONS, HIPCHAT, SIGNAL, WIRE, THREEMA, KONTALK,
|
||||
case CONVERSATIONS, HIPCHAT, WIRE, THREEMA, KONTALK,
|
||||
ANTOX, DISCORD, DELTACHAT, MOLLY ->
|
||||
PebbleIconID.NOTIFICATION_HIPCHAT;
|
||||
case SIGNAL -> isCoreDevice ? PebbleIconID.NOTIFICATION_SIGNAL: PebbleIconID.NOTIFICATION_HIPCHAT;
|
||||
case ELEMENT -> isCoreDevice ? PebbleIconID.NOTIFICATION_ELEMENT : PebbleIconID.NOTIFICATION_HIPCHAT;
|
||||
case FACEBOOK -> PebbleIconID.NOTIFICATION_FACEBOOK;
|
||||
case FACEBOOK_MESSENGER -> PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER;
|
||||
|
||||
Reference in New Issue
Block a user