Przeglądaj źródła

fix for legend not showing properly on iphone mini versions

polscm32 2 lat temu
rodzic
commit
9c152674e3

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

@@ -385,7 +385,7 @@ extension MainChartView {
                     calculatePredictions()
                 }
                 .frame(
-                    minHeight: UIScreen.main.bounds.height / 3.3
+                    minHeight: UIScreen.main.bounds.height / 3.6
                 )
                 .frame(width: fullWidth(viewWidth: screenSize.width))
                 // .chartYScale(domain: minValue ... maxValue)