Update resolution table when mainView loaded

This commit is contained in:
xzzpig
2024-11-19 14:56:33 +08:00
parent 7699e47157
commit d7bb9483e4
2 changed files with 4 additions and 0 deletions
@@ -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{