forked from shadowfacts/Tusker
Make UserActivityType.handle MainActor-bound
This commit is contained in:
parent
297af7b905
commit
f704d15dd7
|
@ -21,6 +21,7 @@ enum UserActivityType: String {
|
|||
}
|
||||
|
||||
extension UserActivityType {
|
||||
@MainActor
|
||||
var handle: (UserActivityManager) -> @MainActor (NSUserActivity) -> Void {
|
||||
switch self {
|
||||
case .mainScene:
|
||||
|
|
Loading…
Reference in New Issue