Преглед на файлове

Hide "IOB" and "COB" in HUD view

Jon Mårtensson преди 4 години
родител
ревизия
b6a6ec05be
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

+ 2 - 2
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -34,7 +34,7 @@ extension Home {
                 Spacer()
                 Spacer()
                 VStack(alignment: .leading, spacing: 12) {
                 VStack(alignment: .leading, spacing: 12) {
                     HStack {
                     HStack {
-                        Text("IOB").font(.caption2).foregroundColor(.secondary)
+//                        Text("IOB").font(.caption2).foregroundColor(.secondary)
                         Text(
                         Text(
                             (numberFormatter.string(from: (state.suggestion?.iob ?? 0) as NSNumber) ?? "0") +
                             (numberFormatter.string(from: (state.suggestion?.iob ?? 0) as NSNumber) ?? "0") +
                                 NSLocalizedString(" U", comment: "Insulin unit")
                                 NSLocalizedString(" U", comment: "Insulin unit")
@@ -42,7 +42,7 @@ extension Home {
                         .font(.system(size: 12, weight: .bold))
                         .font(.system(size: 12, weight: .bold))
                     }
                     }
                     HStack {
                     HStack {
-                        Text("COB").font(.caption2).foregroundColor(.secondary)
+//                        Text("COB").font(.caption2).foregroundColor(.secondary)
                         Text(
                         Text(
                             (numberFormatter.string(from: (state.suggestion?.cob ?? 0) as NSNumber) ?? "0") +
                             (numberFormatter.string(from: (state.suggestion?.cob ?? 0) as NSNumber) ?? "0") +
                                 NSLocalizedString(" g", comment: "gram of carbs")
                                 NSLocalizedString(" g", comment: "gram of carbs")