2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Added floating button in dialog list to jump to top.

This commit is contained in:
23rd
2019-04-05 11:28:07 +03:00
committed by John Preston
parent 6021923bf1
commit 41b2e7c9c7
4 changed files with 108 additions and 26 deletions

View File

@@ -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();