fix missing images in notifications
This commit is contained in:
parent
520bc9962b
commit
32f93b8e26
2 changed files with 8 additions and 7 deletions
|
@ -210,7 +210,6 @@ BackgroundItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
radius: 2
|
|
||||||
color: Theme.highlightDimmerColor
|
color: Theme.highlightDimmerColor
|
||||||
visible: status_spoiler_text.length > 0
|
visible: status_spoiler_text.length > 0
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -245,7 +244,9 @@ BackgroundItem {
|
||||||
|
|
||||||
MediaBlock {
|
MediaBlock {
|
||||||
id: media
|
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');
|
model: typeof attachments !== "undefined" ? attachments : Qt.createQmlObject('import QtQuick 2.0; ListModel { }', Qt.application, 'InternalQmlObject');
|
||||||
height: Theme.iconSizeExtraLarge * 2
|
height: Theme.iconSizeExtraLarge * 2
|
||||||
anchors {
|
anchors {
|
||||||
|
|
|
@ -439,27 +439,27 @@
|
||||||
<context>
|
<context>
|
||||||
<name>VisualContainer</name>
|
<name>VisualContainer</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/components/VisualContainer.qml" line="267"/>
|
<location filename="../qml/pages/components/VisualContainer.qml" line="268"/>
|
||||||
<source>Unboost</source>
|
<source>Unboost</source>
|
||||||
<translation>Annulla condivisione</translation>
|
<translation>Annulla condivisione</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/components/VisualContainer.qml" line="267"/>
|
<location filename="../qml/pages/components/VisualContainer.qml" line="268"/>
|
||||||
<source>Boost</source>
|
<source>Boost</source>
|
||||||
<translation>Condividi</translation>
|
<translation>Condividi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/components/VisualContainer.qml" line="308"/>
|
<location filename="../qml/pages/components/VisualContainer.qml" line="309"/>
|
||||||
<source>Unfavorite</source>
|
<source>Unfavorite</source>
|
||||||
<translation>Annulla apprezzamento</translation>
|
<translation>Annulla apprezzamento</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/components/VisualContainer.qml" line="308"/>
|
<location filename="../qml/pages/components/VisualContainer.qml" line="309"/>
|
||||||
<source>Favorite</source>
|
<source>Favorite</source>
|
||||||
<translation>Apprezzato</translation>
|
<translation>Apprezzato</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/components/VisualContainer.qml" line="349"/>
|
<location filename="../qml/pages/components/VisualContainer.qml" line="350"/>
|
||||||
<source>Mention</source>
|
<source>Mention</source>
|
||||||
<translation>Menzionare</translation>
|
<translation>Menzionare</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue