Directory Server Picker: roll back unexpected change commit

This commit is contained in:
manuroe
2017-04-07 13:21:26 +02:00
parent 9d79dd2f56
commit b8cdb0d9bc
@@ -2111,21 +2111,6 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
- (void)onSignout:(id)sender
{
// Get the UsersDevicesViewController from the storyboard
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
DirectoryServerPickerViewController *directoryServerPickerViewController = [storyboard instantiateViewControllerWithIdentifier:@"DirectoryServerPickerViewControllerStoryboardId"];
MXKDirectoryServersDataSource *dataSource = [[MXKDirectoryServersDataSource alloc] initWithMatrixSession:self.mainSession];
[directoryServerPickerViewController displayWitDataSource:dataSource];
// Show this screen within a navigation controller
UINavigationController *usersDevicesNavigationController = [[UINavigationController alloc] init];
[usersDevicesNavigationController pushViewController:directoryServerPickerViewController animated:NO];
[self presentViewController:usersDevicesNavigationController animated:YES completion:nil];
/*
[currentAlert dismiss:NO];
__weak typeof(self) weakSelf = self;
@@ -2179,7 +2164,6 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
currentAlert.mxkAccessibilityIdentifier = @"SettingsVCSignoutAlert";
[currentAlert showInViewController:self];
*/
}
- (void)onRemove3PID:(NSIndexPath*)path