mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Directory Server Picker: roll back unexpected change commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user