mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added floating button in dialog list to jump to top.
This commit is contained in:
@@ -2217,7 +2217,7 @@ void MainWidget::historyToDown(History *history) {
|
||||
}
|
||||
|
||||
void MainWidget::dialogsToUp() {
|
||||
_dialogs->dialogsToUp();
|
||||
_dialogs->jumpToTop();
|
||||
}
|
||||
|
||||
void MainWidget::newUnreadMsg(
|
||||
@@ -2803,7 +2803,6 @@ int MainWidget::backgroundFromY() const {
|
||||
void MainWidget::searchInChat(Dialogs::Key chat) {
|
||||
_dialogs->searchInChat(chat);
|
||||
if (Adaptive::OneColumn()) {
|
||||
dialogsToUp();
|
||||
Ui::showChatsList();
|
||||
} else {
|
||||
_dialogs->activate();
|
||||
|
Reference in New Issue
Block a user