mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-21 20:53:26 +01:00
-[bug-fix]: UI Api invocation needs to be on UI Thread
This commit is contained in:
@@ -118,11 +118,12 @@ private extension IntentHandler
|
||||
{
|
||||
// Queue response in case refreshing finishes after confirm() but before handle().
|
||||
self.queuedResponses[intent] = response
|
||||
|
||||
DispatchQueue.main.async {
|
||||
UIApplication.shared.perform(#selector(NSXPCConnection.suspend))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func refreshApps(intent: RefreshAllIntent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user