Showing 1 changed files with 6 additions and 18 deletions
+6 -18
USB Meter/Views/Meter/Components/MeasurementChartView.swift
@@ -134,6 +134,12 @@ struct MeasurementChartView: View {
134 134
     }
135 135
 
136 136
     private var isLargeDisplay: Bool {
137
+        #if os(iOS)
138
+        if UIDevice.current.userInterfaceIdiom == .phone {
139
+            return false
140
+        }
141
+        #endif
142
+
137 143
         if availableSize.width > 0 {
138 144
             return availableSize.width >= 900 || availableSize.height >= 700
139 145
         }
@@ -1067,24 +1073,6 @@ struct MeasurementChartView: View {
1067 1073
                     )
1068 1074
                     .padding(.top, 8)
1069 1075
 
1070
-                VStack {
1071
-                    Spacer(minLength: 0)
1072
-
1073
-                    HStack(spacing: 6) {
1074
-                        Text("Y \(Int(displayedLowerBoundForSeries(seriesKind)))")
1075
-                            .font((isLargeDisplay ? Font.callout : .caption2).weight(.semibold))
1076
-                            .foregroundColor(.secondary)
1077
-                        Spacer(minLength: 0)
1078
-                    }
1079
-                    .padding(.horizontal, 6)
1080
-                    .padding(.vertical, 6)
1081
-                    .background(
1082
-                        Capsule(style: .continuous)
1083
-                            .fill(Color.primary.opacity(0.06))
1084
-                    )
1085
-                    .padding(.horizontal, 4)
1086
-                    .padding(.bottom, 4)
1087
-                }
1088 1076
             }
1089 1077
         }
1090 1078
         .frame(height: height)