diff --git a/iOS/AddSiteController.m b/iOS/AddSiteController.m index e6dcd93..e45fca1 100644 --- a/iOS/AddSiteController.m +++ b/iOS/AddSiteController.m @@ -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]; } diff --git a/iOS/Base.lproj/Main.storyboard b/iOS/Base.lproj/Main.storyboard index 2f7cee6..4786838 100644 --- a/iOS/Base.lproj/Main.storyboard +++ b/iOS/Base.lproj/Main.storyboard @@ -1,8 +1,11 @@ - + + + + - + @@ -12,7 +15,7 @@ - + @@ -39,9 +42,14 @@ + + + + + @@ -73,6 +81,7 @@ + @@ -94,6 +103,7 @@ + @@ -129,13 +139,14 @@ - + - + + @@ -159,13 +171,14 @@ - + - + + @@ -193,13 +207,14 @@ - + - + - + + + @@ -264,13 +281,14 @@ - + - + + @@ -294,13 +313,14 @@ - + - + + @@ -328,13 +349,14 @@ - + - + - + + + @@ -357,13 +381,14 @@ - + - + + @@ -394,13 +420,14 @@ - + - + - + - + - + - + @@ -474,8 +502,11 @@ - + + +