RoomFiles view controller: custom the attachment viewer

This commit is contained in:
Giom Foret
2017-04-04 14:59:28 +02:00
parent 5c1c22e59a
commit 2069cc495f
@@ -25,6 +25,8 @@
#import "RageShakeManager.h"
#import "AttachmentsViewController.h"
@implementation RoomFilesViewController
#pragma mark -
@@ -73,6 +75,9 @@
// set the default extra
[self setRoomActivitiesViewClass:nil];
// Custom the attachmnet viewer
[self setAttachmentsViewerClass:AttachmentsViewController.class];
// Register first customized cell view classes used to render bubbles
[self.bubblesTableView registerClass:FilesSearchTableViewCell.class forCellReuseIdentifier:FilesSearchTableViewCell.defaultReuseIdentifier];