mirror of
https://github.com/muesli/telephant
synced 2024-11-26 05:10:18 +00:00
Tweak style for like/share notifications of your own posts
This commit is contained in:
parent
0b6e71aa8f
commit
6697e27bab
1 changed files with 4 additions and 2 deletions
|
@ -42,7 +42,7 @@ ColumnLayout {
|
|||
Label {
|
||||
font.pointSize: 10
|
||||
text: qsTr("%1 shared").arg(actorname)
|
||||
opacity: 0.3
|
||||
opacity: (accountBridge.username == author && (like || forward)) ? 0.8 : 0.3
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
|
@ -59,7 +59,7 @@ ColumnLayout {
|
|||
Label {
|
||||
font.pointSize: 10
|
||||
text: qsTr("%1 liked").arg(actorname)
|
||||
opacity: 0.3
|
||||
opacity: (accountBridge.username == author && (like || forward)) ? 0.8 : 0.3
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,6 +99,7 @@ ColumnLayout {
|
|||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: implicitWidth + 1
|
||||
elide: Text.ElideRight
|
||||
opacity: (accountBridge.username == author && (like || forward)) ? 0.4 : 1.0
|
||||
}
|
||||
Label {
|
||||
// anchors.bottom: parent.bottom
|
||||
|
@ -141,6 +142,7 @@ ColumnLayout {
|
|||
font.pointSize: 11
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
opacity: (accountBridge.username == author && (like || forward)) ? 0.4 : 1.0
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
|
|
Loading…
Reference in a new issue