diff --git a/features/feature_notification/src/main/java/com/example/util/simpletimetracker/feature_notification/goalTime/interactor/NotificationGoalTimeInteractorImpl.kt b/features/feature_notification/src/main/java/com/example/util/simpletimetracker/feature_notification/goalTime/interactor/NotificationGoalTimeInteractorImpl.kt index 02c9709b..b0fa75e9 100644 --- a/features/feature_notification/src/main/java/com/example/util/simpletimetracker/feature_notification/goalTime/interactor/NotificationGoalTimeInteractorImpl.kt +++ b/features/feature_notification/src/main/java/com/example/util/simpletimetracker/feature_notification/goalTime/interactor/NotificationGoalTimeInteractorImpl.kt @@ -140,7 +140,7 @@ class NotificationGoalTimeInteractorImpl @Inject constructor( val runningRecords = runningRecordInteractor.getAll() categoriesWithThisTypes.keys.forEach { categoryId -> - cancel(RecordTypeGoal.IdData.Type(categoryId)) + cancel(RecordTypeGoal.IdData.Category(categoryId)) } // Session