mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Merge branch 'dev' of git://github.com/rsri/uhabits into pull/cancel_notification
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