mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-25 13:31:47 +00:00
Improve description messages of error message dialogs
This commit is contained in:
1 parent
565a8e56e6
commit
1121a918d1
4 files changed
+49
-53
No files matched your search
@@ -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