mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-15 21:21:45 +00:00
Fix settings not saving on the first stream if the settings slideout is not closed
This commit is contained in:
@@ -501,7 +501,10 @@ static NSMutableSet* hostList;
|
|||||||
|
|
||||||
#if !TARGET_OS_TV
|
#if !TARGET_OS_TV
|
||||||
if (currentPosition != FrontViewPositionLeft) {
|
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
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user