mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-27 14:30:11 +00:00
Remove OSPortabilityDefs.h
The macOS support that used it has been removed for a while
This commit is contained in:
1 parent
c3ba447372
commit
42f29c44e6
11 files changed
+13
-41
No files matched your search
@@ -21,12 +21,11 @@
|
||||
// HACK: Avoid calling [UIApplication delegate] off the UI thread to keep
|
||||
// Main Thread Checker happy.
|
||||
if ([NSThread isMainThread]) {
|
||||
_appDelegate = (AppDelegate *)[[OSApplication sharedApplication] delegate];
|
||||
|
||||
_appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
|
||||
}
|
||||
else {
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
self->_appDelegate = (AppDelegate *)[[OSApplication sharedApplication] delegate];
|
||||
self->_appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user