1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-27 02:55:50 +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); shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_OTHER, true);
break; break;
case CasioConstants.CATEGORY_SNS: case CasioConstants.CATEGORY_SNS:
sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true); shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_SMS, true);
break; break;
case CasioConstants.CATEGORY_INCOMING_CALL: case CasioConstants.CATEGORY_INCOMING_CALL:
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true); shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALL, true);
break; break;
case CasioConstants.CATEGORY_SCHEDULE_AND_ALARM: case CasioConstants.CATEGORY_SCHEDULE_AND_ALARM:
sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true); shouldAlert = sharedPreferences.getBoolean(PREF_CASIO_ALERT_CALENDAR, true);
break; break;
} }