Update resolution table when mainView loaded

This commit is contained in:
xzzpig committed 2024-11-19 14:56:33 +08:00
1 parent 7699e47157
commit d7bb9483e4
2 files changed
+4

No files matched your search

@@ -1149,6 +1149,9 @@ static NSMutableSet* hostList;
//[self simulateSettingsButtonPress]; //force expand setting view if orientation changed since last quit from app.
//[self simulateSettingsButtonPress]; //force expand setting view if orientation changed since last quit from app.
[self swapResolutionWidthHeightAccordingly];
SettingsViewController* settingsViewController = (SettingsViewController*)[self.revealViewController rearViewController];
[settingsViewController updateResolutionTable];
}
-(void)handleRealOrientationChange{
@@ -68,6 +68,7 @@
- (void) saveSettings;
+ (bool) isLandscapeNow;
- (void)updateResolutionTable;
- (void) widget:(UISlider*)widget setEnabled:(bool)enabled;
@end