From 860bf727d454074cc79cf3a1f2f5fc2786a60431 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 15 Oct 2017 17:13:53 +0200 Subject: [PATCH] iOS: Fix deleting a site --- iOS/ShowDetailsController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/ShowDetailsController.m b/iOS/ShowDetailsController.m index 3184716..9bfc71c 100644 --- a/iOS/ShowDetailsController.m +++ b/iOS/ShowDetailsController.m @@ -228,7 +228,7 @@ clearNSMutableString(NSMutableString *string) style: UIAlertActionStyleDestructive handler: ^ (UIAlertAction *action) { [self.mainViewController.siteStorage removeSite: _name]; - [self.mainViewController.tableView reloadData]; + [self.mainViewController reset]; [self.navigationController popViewControllerAnimated: YES]; }]];