Mike Plante 1 год назад
Родитель
Сommit
55e3961624
1 измененных файлов с 0 добавлено и 20 удалено
  1. 0 20
      Trio/Sources/Modules/Treatments/View/PopupView.swift

+ 0 - 20
Trio/Sources/Modules/Treatments/View/PopupView.swift

@@ -833,26 +833,6 @@ struct PopupView: View {
         }
     }
 
-    func valueLabelView(title: String, value: String, unit: String? = nil, valueColor: Color? = nil) -> some View {
-        Grid(alignment: .center, verticalSpacing: 4) {
-            GridRow {
-                Text(title).secondaryLabel()
-            }
-
-            GridRow {
-                Text(value)
-                    .valueStyle()
-                    .foregroundStyle(valueColor ?? .primary)
-            }
-
-            if let unit = unit {
-                GridRow {
-                    Text(unit).unitStyle()
-                }
-            }
-        }.multilineTextAlignment(.center)
-    }
-
     func limitWarning(_ text: String) -> some View {
         HStack {
             Image(systemName: "exclamationmark.triangle.fill")