cancel immediate opening of osc layout tool in setting view during streaming

This commit is contained in:
True Zhuanjia committed 2024-07-11 03:13:49 +08:00
1 parent bf6cf21084
commit 802f8714ef
1 file changed
+1 -1
@@ -477,7 +477,7 @@ BOOL isCustomResolution(CGSize res) {
style:UIAlertActionStyleDefault style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) { handler:^(UIAlertAction *action) {
// Continue execution after the alert is dismissed // Continue execution after the alert is dismissed
[self invokeOscLayout]; if(!self->_mainFrameViewController.settingsExpandedInStreamView) [self invokeOscLayout]; //don't open osc layout tool immediately during streaming
NSLog(@"OK button tapped"); NSLog(@"OK button tapped");
}]; }];
[alertController addAction:okAction]; [alertController addAction:okAction];