mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
SP4: space settings (#5730)
* SP4: Space Settings - Space settings screen implemented - No space upgrade available as per Element web - Need more insights for the space address field - Added settings live update - Added local alias implementation
This commit is contained in:
@@ -71,4 +71,8 @@ typedef enum : NSUInteger {
|
||||
|
||||
- (void)roomSettingsViewController:(RoomSettingsViewController *)controller didReplaceRoomWithReplacementId:(NSString *)newRoomId;
|
||||
|
||||
- (void)roomSettingsViewControllerDidCancel:(RoomSettingsViewController *)controller;
|
||||
|
||||
- (void)roomSettingsViewControllerDidComplete:(RoomSettingsViewController *)controller;
|
||||
|
||||
@end
|
||||
|
||||
@@ -906,7 +906,14 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
[self->updatedItemsDict removeAllObjects];
|
||||
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
if (self.delegate)
|
||||
{
|
||||
[self.delegate roomSettingsViewControllerDidCancel:self];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
}
|
||||
|
||||
}]];
|
||||
@@ -1435,7 +1442,14 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
}
|
||||
else
|
||||
{
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
if (self.delegate)
|
||||
{
|
||||
[self.delegate roomSettingsViewControllerDidCancel:self];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2183,7 +2197,14 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
[self stopActivityIndicator];
|
||||
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
if (self.delegate)
|
||||
{
|
||||
[self.delegate roomSettingsViewControllerDidComplete:self];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - UITableViewDataSource
|
||||
|
||||
Reference in New Issue
Block a user