Skip to content

Commit

Permalink
Fix alarm delete not working
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanSarwar45 committed Dec 13, 2023
1 parent 21e3980 commit 960c845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alarm/screens/alarm_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class _AlarmScreenState extends State<AlarmScreen> {
ScaffoldMessenger.of(context)
.showSnackBar(getSnackbar("Cannot delete alarm while it is snoozed"));
} else {
_listController.duplicateItem(alarm);
_listController.deleteItem(alarm);
}
}

Expand Down

0 comments on commit 960c845

Please sign in to comment.