Timer plays sound when expired
This commit is contained in:
@@ -623,4 +623,8 @@ extension MainViewModel {
|
||||
func getTimer(forRecipe recipeId: String, duration: DurationComponents) -> RecipeTimer {
|
||||
return timers[recipeId] ?? createTimer(forRecipe: recipeId, duration: duration)
|
||||
}
|
||||
|
||||
func deleteTimer(forRecipe recipeId: String) {
|
||||
timers.removeValue(forKey: recipeId)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user