fix missing images in mentions

This commit is contained in:
molan-git 2020-06-12 17:09:05 +02:00
parent 694d6f753a
commit e4169b3b1b
5 changed files with 13 additions and 8 deletions

View file

@ -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 {

View file

@ -1,3 +1,6 @@
*Fri Jun 12 2020 molan <mol_an@sunrise.ch> 1.0.5-1
- [hotfix] fix missing images in mentions on Notification page
*Thu Jun 11 2020 molan <mol_an@sunrise.ch> 1.0.5-0
- fixed: show search results without entering # before term
- fixed: non-clickable user mentions in Toots

View file

@ -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/

View file

@ -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

View file

@ -439,27 +439,27 @@
<context>
<name>VisualContainer</name>
<message>
<location filename="../qml/pages/components/VisualContainer.qml" line="268"/>
<location filename="../qml/pages/components/VisualContainer.qml" line="270"/>
<source>Unboost</source>
<translation>Annulla condivisione</translation>
</message>
<message>
<location filename="../qml/pages/components/VisualContainer.qml" line="268"/>
<location filename="../qml/pages/components/VisualContainer.qml" line="270"/>
<source>Boost</source>
<translation>Condividi</translation>
</message>
<message>
<location filename="../qml/pages/components/VisualContainer.qml" line="309"/>
<location filename="../qml/pages/components/VisualContainer.qml" line="311"/>
<source>Unfavorite</source>
<translation>Annulla apprezzamento</translation>
</message>
<message>
<location filename="../qml/pages/components/VisualContainer.qml" line="309"/>
<location filename="../qml/pages/components/VisualContainer.qml" line="311"/>
<source>Favorite</source>
<translation>Apprezzato</translation>
</message>
<message>
<location filename="../qml/pages/components/VisualContainer.qml" line="350"/>
<location filename="../qml/pages/components/VisualContainer.qml" line="352"/>
<source>Mention</source>
<translation>Menzionare</translation>
</message>