diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java index 3b62a3ee8..78e52924f 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huawei/requests/SendNotificationRequest.java @@ -44,13 +44,12 @@ public class SendNotificationRequest extends Request { public static byte getNotificationType(NotificationType type) { switch (type.getGenericType()) { + case "generic": case "generic_social": case "generic_chat": - return Notifications.NotificationType.weChat; + return Notifications.NotificationType.generic; case "generic_email": return Notifications.NotificationType.email; - case "generic": - return Notifications.NotificationType.generic; default: return Notifications.NotificationType.sms; }