Переглянути джерело

change from watch note text

from
let note = "⌚️" // Hard-coded note for entries from watch

to
let note = "From watch" // Hard-coded note for entries from watch
Daniel Snällfot 1 рік тому
батько
коміт
c1f9267709
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      FreeAPSWatch WatchKit Extension/Views/CarbsView.swift

+ 1 - 1
FreeAPSWatch WatchKit Extension/Views/CarbsView.swift

@@ -221,7 +221,7 @@ struct CarbsView: View {
                 let amountFat = Int(numberFormatter.string(from: fatAmount as NSNumber)!) ?? Int(fatAmount.rounded())
                 let amountFat = Int(numberFormatter.string(from: fatAmount as NSNumber)!) ?? Int(fatAmount.rounded())
                 let amountProtein = Int(numberFormatter.string(from: proteinAmount as NSNumber)!) ??
                 let amountProtein = Int(numberFormatter.string(from: proteinAmount as NSNumber)!) ??
                     Int(proteinAmount.rounded())
                     Int(proteinAmount.rounded())
-                let note = "⌚️" // Hard-coded note for entries from watch
+                let note = "From watch" // Hard-coded note for entries from watch
                 state.addMeal(amountCarbs, fat: amountFat, protein: amountProtein, note: note)
                 state.addMeal(amountCarbs, fat: amountFat, protein: amountProtein, note: note)
             }
             }
             label: { Text("Save") }
             label: { Text("Save") }