Skip to content

Commit 99ca9fd

Browse files
committed
qml: Add fade-in animation to WalletBadge
1 parent 2ba5148 commit 99ca9fd

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
@@ -64,6 +64,12 @@ Button {
6464
RowLayout {
6565
visible: !root.loading
6666

67+
opacity: visible ? 1 : 0
68+
69+
Behavior on opacity {
70+
NumberAnimation { duration: 400 }
71+
}
72+
6773
anchors.leftMargin: 5
6874
anchors.rightMargin: 5
6975
anchors.centerIn: parent

0 commit comments

Comments
 (0)