mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 04:36:58 +02:00
RoomBubbleTableViewCell: show/hide message timestamp
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#import "RoomDataSource.h"
|
||||
|
||||
#import "EventFormatter.h"
|
||||
#import "RoomBubbleCellData.h"
|
||||
#import "RoomIncomingBubbleTableViewCell.h"
|
||||
#import "RoomOutgoingBubbleTableViewCell.h"
|
||||
|
||||
@@ -27,8 +28,8 @@
|
||||
self = [super initWithRoomId:roomId andMatrixSession:matrixSession];
|
||||
if (self)
|
||||
{
|
||||
// Keep default Cell data class (MXKRoomBubbleCellDataWithAppendingMode)
|
||||
// [self registerCellDataClass:MXKRoomBubbleCellDataWithAppendingMode.class forCellIdentifier:kMXKRoomBubbleCellDataIdentifier];
|
||||
// Replace default Cell data class
|
||||
[self registerCellDataClass:RoomBubbleCellData.class forCellIdentifier:kMXKRoomBubbleCellDataIdentifier];
|
||||
|
||||
// Replace cell view classes
|
||||
[self registerCellViewClass:RoomIncomingBubbleTableViewCell.class forCellIdentifier:kMXKRoomIncomingTextMsgBubbleTableViewCellIdentifier];
|
||||
|
||||
Reference in New Issue
Block a user