mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-22 16:26:59 +00:00
Improve description messages of error message dialogs
This commit is contained in:
@@ -50,7 +50,11 @@
|
||||
NSString* appversion = [serverInfoResp getStringTag:@"appversion"];
|
||||
NSString* gfeVersion = [serverInfoResp getStringTag:@"GfeVersion"];
|
||||
NSString* serverState = [serverInfoResp getStringTag:@"state"];
|
||||
if (![serverInfoResp isStatusOk] || pairStatus == NULL || appversion == NULL || serverState == NULL) {
|
||||
if (![serverInfoResp isStatusOk]) {
|
||||
[_callbacks launchFailed:serverInfoResp.statusMessage];
|
||||
return;
|
||||
}
|
||||
else if (pairStatus == NULL || appversion == NULL || serverState == NULL) {
|
||||
[_callbacks launchFailed:@"Failed to connect to PC"];
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user