settingView close/expand control

This commit is contained in:
TrueZhuanjia
2025-06-06 22:44:17 +08:00
parent a591380d60
commit fcb68bc54f
5 changed files with 18 additions and 15 deletions
@@ -328,12 +328,6 @@ BOOL isCustomResolution(CGSize res) {
});
}
- (void)simulateSettingsButtonPress{
[self.mainFrameViewController simulateSettingsButtonPress];
}
- (void)viewDidDisappear:(BOOL)animated{
[super viewDidDisappear:NO];
[[NSNotificationCenter defaultCenter] postNotificationName:@"SettingsViewClosedNotification" object:self]; // notify other view that settings view just closed
@@ -358,7 +352,7 @@ BOOL isCustomResolution(CGSize res) {
}
- (void)edgeSwiped {
[self simulateSettingsButtonPress];
[self.mainFrameViewController closeSettingViewAnimated:YES];
}
- (BOOL)isIPhone {