mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 06:01:13 +00:00
Fix app grid running indicator not being correct immediately after returning from stream
This commit is contained in:
@@ -345,8 +345,9 @@ static NSMutableSet* hostList;
|
|||||||
[self showHostSelectionView];
|
[self showHostSelectionView];
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
Log(LOG_D, @"server info pair status: %@", [serverInfoResp getStringTag:@"PairStatus"]);
|
// Update the host object with this data
|
||||||
if ([[serverInfoResp getStringTag:@"PairStatus"] isEqualToString:@"1"]) {
|
[serverInfoResp populateHost:host];
|
||||||
|
if (host.pairState == PairStatePaired) {
|
||||||
Log(LOG_I, @"Already Paired");
|
Log(LOG_I, @"Already Paired");
|
||||||
[self alreadyPaired];
|
[self alreadyPaired];
|
||||||
}
|
}
|
||||||
@@ -545,6 +546,10 @@ static NSMutableSet* hostList;
|
|||||||
// to look like the old error in that case, so the UI behaves.
|
// to look like the old error in that case, so the UI behaves.
|
||||||
quitResponse.statusCode = 599;
|
quitResponse.statusCode = 599;
|
||||||
}
|
}
|
||||||
|
else if ([serverInfoResp isStatusOk]) {
|
||||||
|
// Update the host object with this info
|
||||||
|
[serverInfoResp populateHost:app.host];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
[self->_discMan addHostToDiscovery:app.host];
|
[self->_discMan addHostToDiscovery:app.host];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user