Plugged BuildSettings.messageDetailsAllowShare to self.allowActionsInDocumentPreview MXKRoomViewController's property

This commit is contained in:
Gil Eluard
2020-12-08 22:01:46 +01:00
parent 825c240890
commit 8b4eaa6e33
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -294,6 +294,9 @@
// Listen to the event sent state changes
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(eventDidChangeSentState:) name:kMXEventDidChangeSentStateNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(eventDidChangeIdentifier:) name:kMXEventDidChangeIdentifierNotification object:nil];
// Show / hide actions button in document preview according BuildSettings
self.allowActionsInDocumentPreview = BuildSettings.messageDetailsAllowShare;
}
- (void)viewDidLoad