iOS: Implement search / filtering

This commit is contained in:
Jonathan Schleifer 2017-10-15 13:22:32 +02:00
parent 3c8b2d1d7d
commit d916043c03
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
7 changed files with 103 additions and 47 deletions

View file

@ -85,12 +85,10 @@ showAlert(UIViewController *controller, NSString *title, NSString *message)
return;
}
[self.mainViewController.siteStorage
setSite: name
length: length
legacy: self.legacySwitch.on];
[self.mainViewController.tableView reloadData];
[self.mainViewController.siteStorage setSite: name
length: length
legacy: self.legacySwitch.on];
[self.mainViewController reset];
[self.navigationController popViewControllerAnimated: YES];
}