try to fix app crash issue triggered by manually adding host
This commit is contained in:
1 parent
2be2ffbcb6
commit
3894d92f1b
2 files changed
+2
-2
No files matched your search
@@ -1296,7 +1296,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Moonlight-iOS/tvOS only supports adding PCs on your local network on %s." : {
|
"Moonlight-iOS/tvOS only supports adding PCs on your local network" : {
|
||||||
"extractionState" : "manual",
|
"extractionState" : "manual",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"zh-Hans" : {
|
"zh-Hans" : {
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
- (void) discoverHost:(NSString *)hostAddress withCallback:(void (^)(TemporaryHost *, NSString*))callback {
|
- (void) discoverHost:(NSString *)hostAddress withCallback:(void (^)(TemporaryHost *, NSString*))callback {
|
||||||
BOOL prohibitedAddress = [DiscoveryManager isProhibitedAddress:hostAddress];
|
BOOL prohibitedAddress = [DiscoveryManager isProhibitedAddress:hostAddress];
|
||||||
NSString* prohibitedAddressMessage = [LocalizationHelper localizedStringForKey: @"Moonlight-iOS/tvOS only supports adding PCs on your local network on %s."];
|
NSString* prohibitedAddressMessage = [LocalizationHelper localizedStringForKey: @"Moonlight-iOS/tvOS only supports adding PCs on your local network"]; // this is actually deprecated since i cancel the IP limitation
|
||||||
ServerInfoResponse* serverInfoResponse = [self getServerInfoResponseForAddress:hostAddress];
|
ServerInfoResponse* serverInfoResponse = [self getServerInfoResponseForAddress:hostAddress];
|
||||||
|
|
||||||
TemporaryHost* host = nil;
|
TemporaryHost* host = nil;
|
||||||
|
|||||||
Reference in new issue
Block a user