From e4169b3b1b878ba6b3798b59f022cac7bc074936 Mon Sep 17 00:00:00 2001 From: molan-git Date: Fri, 12 Jun 2020 17:09:05 +0200 Subject: [PATCH] fix missing images in mentions --- qml/pages/components/VisualContainer.qml | 4 +++- rpm/harbour-tooterb.changes | 3 +++ rpm/harbour-tooterb.spec | 2 +- rpm/harbour-tooterb.yaml | 2 +- translations/harbour-tooterb-it.ts | 10 +++++----- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/qml/pages/components/VisualContainer.qml b/qml/pages/components/VisualContainer.qml index a3578d9..3778955 100644 --- a/qml/pages/components/VisualContainer.qml +++ b/qml/pages/components/VisualContainer.qml @@ -246,7 +246,9 @@ BackgroundItem { MediaBlock { id: media - visible: myList.type !== "notifications" && ( model.type !== "favourite" || model.type !== "reblog" ) + visible: if (myList.type === "notifications" && ( type === "favourite" || type === "reblog" )) { + false + } else true model: typeof attachments !== "undefined" ? attachments : Qt.createQmlObject('import QtQuick 2.0; ListModel { }', Qt.application, 'InternalQmlObject'); height: Theme.iconSizeExtraLarge * 2 anchors { diff --git a/rpm/harbour-tooterb.changes b/rpm/harbour-tooterb.changes index 9c24e73..c1868e3 100644 --- a/rpm/harbour-tooterb.changes +++ b/rpm/harbour-tooterb.changes @@ -1,3 +1,6 @@ +*Fri Jun 12 2020 molan 1.0.5-1 +- [hotfix] fix missing images in mentions on Notification page + *Thu Jun 11 2020 molan 1.0.5-0 - fixed: show search results without entering # before term - fixed: non-clickable user mentions in Toots diff --git a/rpm/harbour-tooterb.spec b/rpm/harbour-tooterb.spec index d5b840d..8f1508a 100644 --- a/rpm/harbour-tooterb.spec +++ b/rpm/harbour-tooterb.spec @@ -14,7 +14,7 @@ Name: harbour-tooterb %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: Tooter β Version: 1.0.5 -Release: 0 +Release: 1 Group: Qt/Qt License: LICENSE URL: http://example.org/ diff --git a/rpm/harbour-tooterb.yaml b/rpm/harbour-tooterb.yaml index c1c753c..2bfca44 100644 --- a/rpm/harbour-tooterb.yaml +++ b/rpm/harbour-tooterb.yaml @@ -1,7 +1,7 @@ Name: harbour-tooterb Summary: Tooter β Version: 1.0.5 -Release: 0 +Release: 1 # 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 diff --git a/translations/harbour-tooterb-it.ts b/translations/harbour-tooterb-it.ts index 6089ce2..d73d685 100644 --- a/translations/harbour-tooterb-it.ts +++ b/translations/harbour-tooterb-it.ts @@ -439,27 +439,27 @@ VisualContainer - + Unboost Annulla condivisione - + Boost Condividi - + Unfavorite Annulla apprezzamento - + Favorite Apprezzato - + Mention Menzionare