Fix CrashlyticsService API signature and unused tagMap warning

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
alexandrev-tibco
2026-04-27 15:31:54 +02:00
parent 87a0874f2a
commit ac124342fa
2 changed files with 8 additions and 7 deletions
@@ -75,7 +75,6 @@ struct AutocompleteEngine {
}
static func findViolations(plan: WeekPlan, allDishes: [Dish], allTags: [Tag]) -> [RuleViolation] {
let tagMap = Dictionary(uniqueKeysWithValues: allTags.map { ($0.id, $0) })
let dishMap = Dictionary(uniqueKeysWithValues: allDishes.map { ($0.id, $0) })
return plan.slots.compactMap { slot in
guard let dishId = slot.dishId,