try to fix app crash issue triggered by manually adding host
This commit is contained in:
@@ -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",
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
|
||||
- (void) discoverHost:(NSString *)hostAddress withCallback:(void (^)(TemporaryHost *, NSString*))callback {
|
||||
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];
|
||||
|
||||
TemporaryHost* host = nil;
|
||||
|
||||
Reference in New Issue
Block a user