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

This commit is contained in:
True Zhuanjia
2024-07-11 03:13:49 +08:00
parent bf6cf21084
commit 802f8714ef
@@ -477,7 +477,7 @@ BOOL isCustomResolution(CGSize res) {
style:UIAlertActionStyleDefault
handler:^(UIAlertAction *action) {
// 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");
}];
[alertController addAction:okAction];