Przeglądaj źródła

Merge pull request #90 from dnzxy/fix-carb-shortcut-typo

polscm32 1 rok temu
rodzic
commit
fabc092222

+ 1 - 1
FreeAPS/Sources/Shortcuts/AppShortcuts.swift

@@ -25,7 +25,7 @@ import Foundation
             ]
         )
         AppShortcut(
-            intent: AddCarbPresentIntent(),
+            intent: AddCarbPresetIntent(),
             phrases: [
                 "Add carbs in \(.applicationName)",
                 "\(.applicationName) allows to add carbs"

+ 1 - 1
FreeAPS/Sources/Shortcuts/Carbs/AddCarbPresetIntent.swift

@@ -3,7 +3,7 @@ import Foundation
 import Intents
 import Swinject
 
-@available(iOS 16.0,*) struct AddCarbPresentIntent: AppIntent {
+@available(iOS 16.0,*) struct AddCarbPresetIntent: AppIntent {
     // Title of the action in the Shortcuts app
     static var title: LocalizedStringResource = "Add carbs"