Explorar el Código

Hotfix: Resolve glucose value update issue in HomeView by removing fetch limit

polscm32 aka Marvout hace 1 año
padre
commit
0b4c5ece70

+ 1 - 2
FreeAPS/Sources/Modules/Home/HomeStateModel+Setup/GlucoseSetup.swift

@@ -16,8 +16,7 @@ extension Home.StateModel {
             onContext: glucoseFetchContext,
             predicate: NSPredicate.glucose,
             key: "date",
-            ascending: true,
-            fetchLimit: 288
+            ascending: true
         )
 
         return await glucoseFetchContext.perform {