浏览代码

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 amountProtein = Int(numberFormatter.string(from: proteinAmount as NSNumber)!) ??
                     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)
             }
             label: { Text("Save") }