From ee91177ca6d22b15014b0d25f47757e4434d8fb1 Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Sun, 7 Jul 2024 12:34:59 +0800 Subject: [PATCH] fix OSCLayoutTool multi-reload bug --- .../LayoutOnScreenControlsViewController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.m b/Limelight/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.m index 6fee3c63..187b9ab2 100644 --- a/Limelight/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.m +++ b/Limelight/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.m @@ -108,7 +108,10 @@ [self profileRefresh]; } - +- (void) viewDidAppear:(BOOL)animated { + [super viewWillAppear:animated]; + [self profileRefresh]; +} #pragma mark - Class Helper Functions