mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Implemented cancel to reminders of habits.
This commit is contained in:
@@ -61,6 +61,12 @@ public class WidgetBehavior
|
||||
performToggle(habit, timestamp);
|
||||
}
|
||||
|
||||
public void onCancelRepetition(@NonNull Habit habit, Timestamp timestamp)
|
||||
{
|
||||
onRemoveRepetition(habit, timestamp);
|
||||
notificationTray.cancel(habit);
|
||||
}
|
||||
|
||||
public void onToggleRepetition(@NonNull Habit habit, Timestamp timestamp)
|
||||
{
|
||||
performToggle(habit, timestamp);
|
||||
|
||||
Reference in New Issue
Block a user