Updated the Sample app and Widget targets in the Xcode project to make the app works for macOS.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#if os(iOS)
|
||||
import AppIntents
|
||||
import Commanding
|
||||
|
||||
@@ -32,3 +33,4 @@ struct DiscardRecordingIntent: LiveActivityIntent {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#if os(iOS)
|
||||
import AppIntents
|
||||
import Commanding
|
||||
|
||||
@@ -32,3 +33,4 @@ struct ProcessRecordingIntent: LiveActivityIntent {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#if os(iOS)
|
||||
import AppIntents
|
||||
import Commanding
|
||||
|
||||
@@ -32,3 +33,4 @@ struct ToggleRecordingIntent: LiveActivityIntent {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user