mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Bug Fix - Read marker: no "Jump to first message" on landscape mode for devices with left and right panels
RoomViewController: Override exposed method used to reload the bubbles table. vector-im/riot-ios#1291
This commit is contained in:
parent
95ec08164c
commit
bf06ed3aef
1 changed files with 10 additions and 8 deletions
|
@ -719,6 +719,16 @@
|
|||
|
||||
#pragma mark - Override MXKRoomViewController
|
||||
|
||||
- (BOOL)reloadBubblesTable:(BOOL)useBottomAnchor
|
||||
{
|
||||
BOOL hasScrolledToTheBottom = [super reloadBubblesTable:useBottomAnchor];
|
||||
|
||||
[self refreshActivitiesViewDisplay];
|
||||
[self refreshJumpToLastUnreadBannerDisplay];
|
||||
|
||||
return hasScrolledToTheBottom;
|
||||
}
|
||||
|
||||
- (void)onMatrixSessionChange
|
||||
{
|
||||
[super onMatrixSessionChange];
|
||||
|
@ -1609,14 +1619,6 @@
|
|||
|
||||
#pragma mark - MXKDataSource delegate
|
||||
|
||||
- (void)dataSource:(MXKDataSource *)dataSource didCellChange:(id)changes
|
||||
{
|
||||
[super dataSource:dataSource didCellChange:changes];
|
||||
|
||||
[self refreshActivitiesViewDisplay];
|
||||
[self refreshJumpToLastUnreadBannerDisplay];
|
||||
}
|
||||
|
||||
- (void)dataSource:(MXKDataSource *)dataSource didRecognizeAction:(NSString *)actionIdentifier inCell:(id<MXKCellRendering>)cell userInfo:(NSDictionary *)userInfo
|
||||
{
|
||||
// Handle here user actions on bubbles for Vector app
|
||||
|
|
Loading…
Reference in a new issue