Explorar el Código

Change label, again 😆

(cherry picked from commit a259e18a3db5347acdd3d4f677cfcbba11e6fcb7)
(cherry picked from commit 8b9cff938b5eac7a35bb506b6c7080e71cd3648d)
Jon Mårtensson hace 2 años
padre
commit
0fd6d44ce3

+ 2 - 2
FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings

@@ -965,8 +965,8 @@ Enact a temp Basal or a temp target */
 /* */
 "Carbs" = "Carbs";
 
-/* Food Type */
-"Food Type" = "Food Type";
+/* Food Type / Meal Note */
+"Note" = "Note";
 
 /* */
 "Temp Basal" = "Temp Basal";

+ 2 - 2
FreeAPS/Sources/Modules/AddCarbs/View/AddCarbsRootView.swift

@@ -55,8 +55,8 @@ extension AddCarbs {
                         proteinAndFat()
                     }
                     HStack {
-                        Text("Food Type").foregroundColor(.secondary)
-                        TextField("", text: $state.note)
+                        Text("Note").foregroundColor(.secondary)
+                        TextField("", text: $state.note).frame(maxWidth: .infinity, alignment: .trailing)
                     }
                     HStack {
                         Button {