mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +02:00
Bug Fix: Read marker: preview mode interferes with typing indicator
#1294
This commit is contained in:
@@ -2502,8 +2502,10 @@
|
||||
}
|
||||
else if (sender == self.jumpToLastUnreadButton)
|
||||
{
|
||||
// Hide expanded header to restore navigation bar settings
|
||||
// Hide expanded header to restore navigation bar settings.
|
||||
[self showExpandedHeader:NO];
|
||||
// Dismiss potential keyboard.
|
||||
[self dismissKeyboard];
|
||||
|
||||
MXKRoomDataSource *roomDataSource;
|
||||
// Jump to the last unread event by using a temporary room data source initialized with the last unread event id.
|
||||
@@ -3068,6 +3070,12 @@
|
||||
|
||||
[self refreshActivitiesViewDisplay];
|
||||
[self refreshJumpToLastUnreadBannerDisplay];
|
||||
|
||||
if (self.saveProgressTextInput)
|
||||
{
|
||||
// Restore the potential message partially typed before jump to last unread messages.
|
||||
self.inputToolbarView.textMessage = roomDataSource.partialTextMessage;
|
||||
}
|
||||
}
|
||||
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user