Index: iOS/AddSiteController.m ================================================================== --- iOS/AddSiteController.m +++ iOS/AddSiteController.m @@ -83,20 +83,18 @@ showAlert(self, @"Site Already Exists", @"Please pick a name that does not exist yet."); 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]; } - (IBAction)cancel: (id)sender { [self.navigationController popViewControllerAnimated: YES]; } @end Index: iOS/Base.lproj/Main.storyboard ================================================================== --- iOS/Base.lproj/Main.storyboard +++ iOS/Base.lproj/Main.storyboard @@ -1,20 +1,23 @@ - + + + + - + - + @@ -37,13 +40,18 @@ + + + + + @@ -71,10 +79,11 @@ + @@ -92,10 +101,11 @@ + @@ -127,25 +137,27 @@ - + - + + @@ -157,25 +169,27 @@ - + - + + @@ -191,25 +205,28 @@ - + - + - + + + @@ -262,25 +279,27 @@ - + - + + @@ -292,25 +311,27 @@ - + - + + @@ -326,25 +347,28 @@ - + - + - + + + @@ -355,25 +379,27 @@ - + - + + @@ -392,17 +418,18 @@ - + - + @@ -413,17 +440,18 @@ - + - + @@ -460,24 +488,27 @@ - + - + - + + +