Ivan Valkou 5 лет назад
Родитель
Сommit
6773c308e2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/MainChartView.swift

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

@@ -167,7 +167,7 @@ struct MainChartView: View {
         }()
 
         var index = 0
-        predictionDots[type] = values.concurrentMap { value -> CGRect in
+        predictionDots[type] = values.map { value -> CGRect in
             let position = predictionToCoordinate(value, fullSize: fullSize, index: index)
             index += 1
             return CGRect(x: position.x - 2, y: position.y - 2, width: 4, height: 4)