소스 검색

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") }