diff --git a/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/ui/AlarmDismissActivity.java b/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/ui/AlarmDismissActivity.java index 60584d8ea..808cb205b 100644 --- a/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/ui/AlarmDismissActivity.java +++ b/app/src/main/java/com/forrestguice/suntimeswidget/alarmclock/ui/AlarmDismissActivity.java @@ -400,7 +400,7 @@ public void dismissAlarmAfterChallenge(Context context, View v) challenge.setID(testChallengeID); } - if (challenge != AlarmSettings.DismissChallenge.NONE && !MODE_TIMEOUT.equals(mode)) + if (challenge != AlarmSettings.DismissChallenge.NONE && !AlarmNotifications.ACTION_TIMEOUT.equals(mode)) { showDismissChallenge(context, getDismissChallenge(context, challenge)); } else dismissAlarm(context);