1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 09:17:29 +01:00

Amazfit Bip: Fix non-working notifications from Outlook, Yahoo Mail and GMail

Fixes #844
This commit is contained in:
Andreas Shimokawa 2017-10-15 22:16:00 +02:00
parent 7947d94418
commit 8243fe712e

View File

@ -96,7 +96,7 @@ public class AmazfitBipSupport extends MiBand2Support {
alertCategory = AlertCategory.SMS;
}
// EMAIL icon does not work in FW 0.0.8.74, it did in 0.0.7.90
else if (notificationSpec.type == NotificationType.GENERIC_EMAIL) {
else if (customIconId == MiBand2Icon.EMAIL) {
alertCategory = AlertCategory.Email;
}