mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 10:31:02 +00:00
Fix tvOS build
This commit is contained in:
@@ -983,6 +983,7 @@ static NSMutableSet* hostList;
|
||||
}
|
||||
|
||||
- (void)updateHostShortcuts {
|
||||
#if !TARGET_OS_TV
|
||||
if (@available(iOS 9.0, *)) {
|
||||
NSMutableArray* quickActions = [[NSMutableArray alloc] init];
|
||||
|
||||
@@ -1004,6 +1005,7 @@ static NSMutableSet* hostList;
|
||||
|
||||
[UIApplication sharedApplication].shortcutItems = quickActions;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)updateHosts {
|
||||
|
||||
Reference in New Issue
Block a user