From 16a2ab39416ea5ad2ce7d269ae665e5c9488958f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 27 Oct 2018 11:57:29 -0700 Subject: [PATCH] Fix settings not saving on the first stream if the settings slideout is not closed --- Limelight/ViewControllers/MainFrameViewController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index b73394d..dc4ca67 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -501,7 +501,10 @@ static NSMutableSet* hostList; #if !TARGET_OS_TV if (currentPosition != FrontViewPositionLeft) { - [[self revealViewController] revealToggle:self]; + // This must not be animated because we need the position + // to change (and notify our callback to save settings data) + // before we call prepareToStreamApp. + [[self revealViewController] revealToggleAnimated:NO]; } #endif