2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
2020-06-03 16:49:18 +00:00
|
|
|
import "../../../imports"
|
|
|
|
import "../../../shared"
|
|
|
|
import "./Components"
|
|
|
|
|
2020-06-18 15:56:53 +00:00
|
|
|
ModalPopup {
|
|
|
|
id: popup
|
|
|
|
title: qsTr("Add/Remove Tokens")
|
|
|
|
|
|
|
|
|
|
|
|
TokenSettingsModalContent {
|
|
|
|
id: settingsModalContent
|
2020-06-03 16:49:18 +00:00
|
|
|
}
|
|
|
|
|
2020-06-18 15:56:53 +00:00
|
|
|
footer: StyledButton {
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.rightMargin: Theme.padding
|
|
|
|
label: qsTr("Add custom token")
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: Theme.padding
|
|
|
|
onClicked: {
|
|
|
|
popup.close()
|
|
|
|
addCustomTokenModal.open()
|
2020-06-03 16:49:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;autoSize:true;height:480;width:640}
|
|
|
|
}
|
|
|
|
##^##*/
|