Просмотр исходного кода

set size to 200 because on iphone 13 its too big otherwise

Arif Kobel 2 лет назад
Родитель
Сommit
aaf604ee5a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView2.swift

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

@@ -221,7 +221,7 @@ extension MainChartView2 {
             }.id("MainChart")
                 .frame(
                     width: max(0, screenSize.width - 20, fullWidth(viewWidth: screenSize.width)),
-                    height: min(screenSize.height, 300)
+                    height: min(screenSize.height, 200)
                 )
 //                .chartYScale(domain: 0 ... 450)
                 .chartXAxis {