diff --git a/VoidLink/ViewControllers/SettingsViewController.m b/VoidLink/ViewControllers/SettingsViewController.m index 12b28d78..71de503d 100644 --- a/VoidLink/ViewControllers/SettingsViewController.m +++ b/VoidLink/ViewControllers/SettingsViewController.m @@ -573,7 +573,9 @@ BOOL isCustomResolution(int resolutionSelected) { if (@available(iOS 13.0, *)) { [peripheralSection setSectionWithIcon:[UIImage imageNamed:@"cable.connector.video"] andSize:20]; } - [self addSetting:self.externalDisplayModeStack ofId:@"externalDisplayModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection]; + if (@available(iOS 13.0, *)) { + [self addSetting:self.externalDisplayModeStack ofId:@"externalDisplayModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection]; + } [self addSetting:self.localMousePointerModeStack ofId:@"localMousePointerModeStack" withInfoTag:YES withDynamicLabel:NO to:peripheralSection]; [self addSetting:self.reverseMouseWheelDirectionStack ofId:@"reverseMouseWheelDirectionStack" withInfoTag:NO withDynamicLabel:NO to:peripheralSection]; [self addSetting:self.citrixX1MouseStack ofId:@"citrixX1MouseStack" withInfoTag:NO withDynamicLabel:NO to:peripheralSection]; diff --git a/VoidLink/ViewControllers/StreamFrameViewController.m b/VoidLink/ViewControllers/StreamFrameViewController.m index c3a2d89d..089fe14e 100644 --- a/VoidLink/ViewControllers/StreamFrameViewController.m +++ b/VoidLink/ViewControllers/StreamFrameViewController.m @@ -834,7 +834,7 @@ - (void)extScreenDidConnect:(NSNotification *)notification { Log(LOG_I, @"External Screen Connected"); if ([self isAirPlayEnabled] && [notification.object isKindOfClass:[UIScreen class]]) { - UIScreen *extScreen = (UIScreen *)notification.object; + // UIScreen *extScreen = (UIScreen *)notification.object; if (_streamVideoRenderView) { // Remove from current superview before passing it [_streamVideoRenderView removeFromSuperview];