Skip to content

Commit 9a53889

Browse files
committed
qml: Add fade-in animation to WalletBadge
1 parent 7832432 commit 9a53889

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/qml/pages/wallet/WalletBadge.qml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ Button {
6666
RowLayout {
6767
visible: !root.loading
6868

69+
opacity: visible ? 1 : 0
70+
71+
Behavior on opacity {
72+
NumberAnimation { duration: 400 }
73+
}
74+
6975
anchors.leftMargin: 5
7076
anchors.rightMargin: 5
7177
anchors.centerIn: parent

0 commit comments

Comments
 (0)