Change logo/icon - thanks to @iamnomeutente

This commit is contained in:
Sebastian J. Wolf 2020-10-16 23:00:08 +02:00
parent 1da72aaf9e
commit 7d84fcb3bf
17 changed files with 25 additions and 2 deletions

View file

@ -12,6 +12,9 @@ Fernschreiber wouldn't be the same without all the people helping in making it b
- Chat list model, TDLib receiver, project dependencies: [Slava Monich](https://github.com/monich)
- Location support, app initialization/registration with Telegram, project dependencies: [jgibbon](https://github.com/jgibbon)
### Logo/Icon
- Designed by [Matteo](https://github.com/iamnomeutente)
### Translations
- Chinese: [dashinfantry](https://github.com/dashinfantry)
- Finnish: [jorm1s](https://github.com/jorm1s)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View file

@ -98,6 +98,12 @@ Page {
isChannel = chatGroupInformation.is_channel;
updateGroupStatusText();
}
if (stickerManager.needsReload()) {
console.log("Stickers will be reloaded!");
tdLibWrapper.getRecentStickers();
tdLibWrapper.getInstalledStickerSets();
stickerManager.setNeedsReload(false);
}
}
function getMessageStatusText(message, listItemIndex, lastReadSentIndex) {

View file

@ -12,7 +12,7 @@ Name: harbour-fernschreiber
Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.3
Release: 1
Release: 2
Group: Qt/Qt
License: LICENSE
URL: http://werkwolf.eu/

View file

@ -1,7 +1,7 @@
Name: harbour-fernschreiber
Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.3
Release: 1
Release: 2
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt

View file

@ -50,6 +50,16 @@ QVariantList StickerManager::getInstalledStickerSets()
return this->installedStickerSets;
}
bool StickerManager::needsReload()
{
return this->reloadNeeded;
}
void StickerManager::setNeedsReload(const bool &reloadNeeded)
{
this->reloadNeeded = reloadNeeded;
}
void StickerManager::handleRecentStickersUpdated(const QVariantList &stickerIds)
{
LOG("Receiving recent stickers...." << stickerIds);
@ -115,6 +125,7 @@ void StickerManager::handleStickerSetReceived(const QVariantMap &stickerSet)
QVariantMap thumbnailLocalFile = thumbnailFile.value("local").toMap();
if (!thumbnailLocalFile.value("is_downloading_completed").toBool()) {
tdLibWrapper->downloadFile(thumbnailFile.value("id").toString());
this->reloadNeeded = true;
}
}
}

View file

@ -35,6 +35,8 @@ public:
Q_INVOKABLE QVariantList getRecentStickers();
Q_INVOKABLE QVariantList getInstalledStickerSets();
Q_INVOKABLE bool needsReload();
Q_INVOKABLE void setNeedsReload(const bool &reloadNeeded);
signals:
@ -57,6 +59,7 @@ private:
QVariantMap stickers;
QVariantMap stickerSets;
QVariantMap stickerSetMap;
bool reloadNeeded;
};