From 32f93b8e263d9e3d4d7015298bb6d9ee38ee2222 Mon Sep 17 00:00:00 2001 From: molan-git Date: Fri, 12 Jun 2020 16:56:10 +0200 Subject: [PATCH] fix missing images in notifications --- qml/pages/components/VisualContainer.qml | 5 +++-- translations/harbour-tooter-it.ts | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/qml/pages/components/VisualContainer.qml b/qml/pages/components/VisualContainer.qml index 7635dc9..dfcaf35 100644 --- a/qml/pages/components/VisualContainer.qml +++ b/qml/pages/components/VisualContainer.qml @@ -210,7 +210,6 @@ BackgroundItem { } Rectangle { - radius: 2 color: Theme.highlightDimmerColor visible: status_spoiler_text.length > 0 anchors.fill: parent @@ -245,7 +244,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/translations/harbour-tooter-it.ts b/translations/harbour-tooter-it.ts index 7ac849a..6089ce2 100644 --- a/translations/harbour-tooter-it.ts +++ b/translations/harbour-tooter-it.ts @@ -439,27 +439,27 @@ VisualContainer - + Unboost Annulla condivisione - + Boost Condividi - + Unfavorite Annulla apprezzamento - + Favorite Apprezzato - + Mention Menzionare