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

re-add missing button action to open bolus view (after merge)

Marvin Polscheit 1 год назад
Родитель
Сommit
c967e20fb7

+ 1 - 46
FreeAPS.xcworkspace/xcshareddata/swiftpm/Package.resolved

@@ -20,58 +20,13 @@
         }
       },
       {
-        "package": "swift-algorithms",
-        "repositoryURL": "https://github.com/apple/swift-algorithms",
-        "state": {
-          "branch": null,
-          "revision": "2327673b0e9c7e90e6b1826376526ec3627210e4",
-          "version": "0.2.1"
-        }
-      },
-      {
-        "package": "swift-numerics",
-        "repositoryURL": "https://github.com/apple/swift-numerics",
-        "state": {
-          "branch": null,
-          "revision": "6583ac70c326c3ee080c1d42d9ca3361dca816cd",
-          "version": "0.1.0"
-        }
-      },
-      {
         "package": "SwiftCharts",
-        "repositoryURL": "https://github.com/ivanschuetz/SwiftCharts.git",
+        "repositoryURL": "https://github.com/ivanschuetz/SwiftCharts",
         "state": {
           "branch": "master",
           "revision": "c354c1945bb35a1f01b665b22474f6db28cba4a2",
           "version": null
         }
-      },
-      {
-        "package": "SwiftDate",
-        "repositoryURL": "https://github.com/malcommac/SwiftDate",
-        "state": {
-          "branch": null,
-          "revision": "6190d0cefff3013e77ed567e6b074f324e5c5bf5",
-          "version": "6.3.1"
-        }
-      },
-      {
-        "package": "SwiftMessages",
-        "repositoryURL": "https://github.com/SwiftKickMobile/SwiftMessages",
-        "state": {
-          "branch": null,
-          "revision": "62e12e138fc3eedf88c7553dd5d98712aa119f40",
-          "version": "9.0.9"
-        }
-      },
-      {
-        "package": "Swinject",
-        "repositoryURL": "https://github.com/Swinject/Swinject",
-        "state": {
-          "branch": null,
-          "revision": "be9dbcc7b86811bc131539a20c6f9c2d3e56919f",
-          "version": "2.9.1"
-        }
       }
     ]
   },

+ 2 - 1
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -831,7 +831,8 @@ extension Home {
                 .tint(Color.tabBar)
 
                 Button(
-                    action: { print("hey") },
+                    action: {
+                        state.showModal(for: .bolus) },
                     label: {
                         Image(systemName: "plus.circle.fill")
                             .font(.system(size: 40))