Skip to content

Commit

Permalink
Fixes crash in alarms widget
Browse files Browse the repository at this point in the history
Fixes #101
  • Loading branch information
ekux44 committed Nov 8, 2015
1 parent eaba1cf commit 54cd5ac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -91,7 +91,7 @@ public void onReceive(Context ctx, Intent intent) {
final String action = intent.getAction();
if (action.equals(InternalArguments.CLICK_ACTION)) {

long id = intent.getIntExtra(InternalArguments.ALARM_ID, -1);
long id = intent.getLongExtra(InternalArguments.ALARM_ID, -1);
AlarmData data = AlarmLogic.getAlarm(ctx, id);
AlarmLogic.toggleAlarm(ctx, data);
}
Expand Down

0 comments on commit 54cd5ac

Please sign in to comment.