Merge pull request #5383 from vector-im/steve/5208_text_msg_layout

Message bubbles: Text message layout
This commit is contained in:
SBiOSoftWhare
2022-01-21 16:06:57 +01:00
committed by GitHub
50 changed files with 2154 additions and 399 deletions
@@ -3878,6 +3878,13 @@ TableViewSectionsDelegate>
- (void)toggleEnableRoomMessageBubbles:(UISwitch *)sender
{
RiotSettings.shared.roomScreenEnableMessageBubbles = sender.isOn;
[[RoomTimelineConfiguration shared] updateStyleWithIdentifier:RiotSettings.shared.roomTimelineStyleIdentifier];
// Close all room data sources
// Be sure to use new room timeline style configurations
MXKRoomDataSourceManager *roomDataSourceManager = [MXKRoomDataSourceManager sharedManagerForMatrixSession:self.mainSession];
[roomDataSourceManager reset];
}
#pragma mark - TextField listener