feat: multi-IP storage for host (tested with zeroTier)
This commit is contained in:
@@ -765,6 +765,10 @@ static NSMutableSet* hostList;
|
||||
[hostNotFoundAlert addAction:[UIAlertAction actionWithTitle:[LocalizationHelper localizedStringForKey:@"Ok"] style:UIAlertActionStyleDefault handler:nil]];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self hideLoadingFrame:^{
|
||||
if([error isEqualToString:[LocalizationHelper localizedStringForKey:@"Host information updated"]]){
|
||||
DataManager* dataMan = [[DataManager alloc] init];
|
||||
[dataMan updateHost:host];
|
||||
}
|
||||
[[self activeViewController] presentViewController:hostNotFoundAlert animated:YES completion:nil];
|
||||
}];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user