mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
b3f8af8e06
Qml code referring to the old code base commented out, but not deleted, due to easier refactoring the rest of the app.
58 lines
1.2 KiB
QML
58 lines
1.2 KiB
QML
import QtQuick 2.14
|
|
import QtQuick.Controls 2.14
|
|
|
|
import utils 1.0
|
|
import "../controls"
|
|
import "../popups"
|
|
|
|
Item {
|
|
id: walletFooterRoot
|
|
height: 50
|
|
width: parent.width
|
|
property var walletV2Model
|
|
|
|
Rectangle {
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
height: 1
|
|
color: Style.current.separator
|
|
}
|
|
|
|
Row {
|
|
anchors.centerIn: parent
|
|
spacing: 50
|
|
|
|
WalletButton {
|
|
imageSource: Style.svg("swap-icon")
|
|
text: qsTr("Swap")
|
|
onClicked: {
|
|
console.log("TODO");
|
|
}
|
|
}
|
|
|
|
WalletButton {
|
|
imageSource: Style.svg("send")
|
|
text: qsTr("Send")
|
|
onClicked: {
|
|
console.log("TODO");
|
|
}
|
|
}
|
|
|
|
WalletButton {
|
|
imageSource: Style.svg("crypto-icon")
|
|
text: qsTr("Buy / Sell")
|
|
onClicked: {
|
|
cryptoServicesModal.open();
|
|
}
|
|
}
|
|
}
|
|
|
|
CryptoServicesModal {
|
|
id: cryptoServicesModal
|
|
anchors.centerIn: parent
|
|
// Not Refactored Yet
|
|
// walletV2Model: walletFooterRoot.walletV2Model
|
|
}
|
|
}
|