Showing 1 changed files with 1 additions and 6 deletions
+1 -6
USB Meter/Views/Meter/LiveView.swift
@@ -156,8 +156,7 @@ struct LiveView: View {
156 156
 
157 157
     private var liveMetricColumns: [GridItem] {
158 158
         if compactLayout {
159
-            let count = usesExpandedCompactLayout ? 2 : 4
160
-            return Array(repeating: GridItem(.flexible(), spacing: 10), count: count)
159
+            return Array(repeating: GridItem(.flexible(), spacing: 10), count: 3)
161 160
         }
162 161
 
163 162
         return [GridItem(.flexible()), GridItem(.flexible())]
@@ -185,10 +184,6 @@ struct LiveView: View {
185 184
         meter.chargerTypeDescription == "Unknown" ? "No charging profile detected" : "Detected charging profile"
186 185
     }
187 186
 
188
-    private var usesExpandedCompactLayout: Bool {
189
-        compactLayout && (availableSize?.height ?? 0) >= 520
190
-    }
191
-
192 187
     private var showsCompactMetricRange: Bool {
193 188
         compactLayout && (availableSize?.height ?? 0) >= 380
194 189
     }