From ed3d7e929ca0d2844368ef01e8b954ac1dc2f6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sch=C3=B6mer?= Date: Wed, 18 Sep 2024 23:10:22 +0200 Subject: [PATCH] Update CarbAndBolusFlowViewModel.swift would be great to have the foodType set by the watch --- WatchApp Extension/View Models/CarbAndBolusFlowViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WatchApp Extension/View Models/CarbAndBolusFlowViewModel.swift b/WatchApp Extension/View Models/CarbAndBolusFlowViewModel.swift index 8241fab62a..20c28561a2 100644 --- a/WatchApp Extension/View Models/CarbAndBolusFlowViewModel.swift +++ b/WatchApp Extension/View Models/CarbAndBolusFlowViewModel.swift @@ -117,7 +117,7 @@ final class CarbAndBolusFlowViewModel: ObservableObject { date: lastEntryDate, quantity: HKQuantity(unit: .gram(), doubleValue: Double(grams)), startDate: carbEntryDate, - foodType: nil, + foodType: carbAbsorptionTime.emoji, absorptionTime: absorptionTime(for: carbAbsorptionTime) )