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

Fixed alert logic

This commit is contained in:
foxstidious 2023-10-08 21:07:37 -04:00 committed by José Rebelo
parent be9b83eebf
commit 264ab14847

View File

@ -301,13 +301,13 @@ public class CasioGBX100DeviceSupport extends Casio2C2DSupport implements Shared
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_OTHER, true);
break;
case CasioConstants.CATEGORY_SNS:
sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
break;
case CasioConstants.CATEGORY_INCOMING_CALL:
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
break;
case CasioConstants.CATEGORY_SCHEDULE_AND_ALARM:
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
break;
}