From 3973cdf976d87ce5d217ba502c17de1cdb760978 Mon Sep 17 00:00:00 2001 From: "Sebastian J. Wolf" Date: Sun, 4 Oct 2020 13:36:30 +0200 Subject: [PATCH] Include @monich's suggestions in #42 --- README.md | 2 ++ qml/pages/OverviewPage.qml | 9 +++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e9eb45e..c57bb3a 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ You get the Telegram API ID and hash as soon as you've registered your own appli Moreover, you need to have a compiled version of [TDLib](https://github.com/tdlib/td) in the sub-directory `tdlib`. This sub-directory must contain another sub-directory that fits to the target device architecture (e.g. armv7hl, i486). Within this directory, there needs to be a folder called `lib` that contains at least `libtdjson.so`. For armv7hl the relative path would consequently be `tdlib/armv7hl/lib`. +If you want to contribute bug fixes, improvements, new features etc. please create a pull request (PR). PRs are always welcome and will be reviewed as soon as possible, but may take some time. :) + ## Credits This project uses - The Telegram Database Library (TDLib) - available on [GitHub.com](https://github.com/tdlib/td). Thanks for making it available under the conditions of the Boost Software License 1.0! Details about the license of TDLib in [its license file](https://github.com/tdlib/td/blob/master/LICENSE_1_0.txt). diff --git a/qml/pages/OverviewPage.qml b/qml/pages/OverviewPage.qml index a4a6e51..9e952cd 100644 --- a/qml/pages/OverviewPage.qml +++ b/qml/pages/OverviewPage.qml @@ -137,20 +137,17 @@ Page { } onChatLastMessageUpdated: { if (!overviewPage.chatListCreated) { - chatListCreatedTimer.stop(); - chatListCreatedTimer.start(); + chatListCreatedTimer.restart(); } } onChatOrderUpdated: { if (!overviewPage.chatListCreated) { - chatListCreatedTimer.stop(); - chatListCreatedTimer.start(); + chatListCreatedTimer.restart(); } } onChatsReceived: { if(chats && chats.chat_ids && chats.chat_ids.length === 0) { - chatListCreatedTimer.stop(); - chatListCreatedTimer.start(); + chatListCreatedTimer.restart(); } } }