mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-24 01:06:53 +00:00
Fix active game not being set when returning from streaming
This commit is contained in:
@@ -272,8 +272,10 @@ static NSMutableSet* hostList;
|
|||||||
|
|
||||||
// If we are online, paired, and have a cached app list, skip straight
|
// If we are online, paired, and have a cached app list, skip straight
|
||||||
// to the app grid without a loading frame. This is the fast path that users
|
// to the app grid without a loading frame. This is the fast path that users
|
||||||
// should hit most.
|
// should hit most. Check for a valid view because we don't want to hit the fast
|
||||||
if (host.online && host.pairState == PairStatePaired && host.appList.count > 0) {
|
// path after coming back from streaming, since we need to fetch serverinfo too
|
||||||
|
// so that our active game data is correct.
|
||||||
|
if (host.online && host.pairState == PairStatePaired && host.appList.count > 0 && view != nil) {
|
||||||
[self alreadyPaired];
|
[self alreadyPaired];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user