Skip to content

Commit

Permalink
qml: Remove Done button from Settings in Desktop Wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny9 committed Apr 1, 2024
1 parent ccf5aa0 commit cf025f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qml/pages/node/NodeSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import "../settings"
Item {
signal doneClicked

property alias showDoneButton: doneButton.visible

id: root

StackView {
Expand All @@ -33,6 +35,7 @@ Item {
header: "Settings"
}
rightItem: NavButton {
id: doneButton
text: qsTr("Done")
onClicked: root.doneClicked()
}
Expand Down
1 change: 1 addition & 0 deletions src/qml/pages/wallet/DesktopWallets.qml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ Page {
}
}
NodeSettings {
showDoneButton: false
}
}

Expand Down

0 comments on commit cf025f7

Please sign in to comment.