Fix settings not saving on the first stream if the settings slideout is not closed

This commit is contained in:
Cameron Gutman
2018-10-27 11:57:29 -07:00
parent 39a2e8be78
commit 16a2ab3941

View File

@@ -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