ソースを参照

Delete unused func

Mike Plante 1 年間 前
コミット
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")