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"
|
2020-06-04 20:56:44 +00:00
|
|
|
import "./components"
|
2020-06-03 16:49:18 +00:00
|
|
|
|
2020-06-18 15:56:53 +00:00
|
|
|
ModalPopup {
|
|
|
|
id: popup
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Add/Remove Tokens"
|
|
|
|
title: qsTrId("add/remove-tokens")
|
2020-06-18 15:56:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.rightMargin: Style.current.padding
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Add custom token"
|
|
|
|
label: qsTrId("add-custom-token")
|
2020-06-18 15:56:53 +00:00
|
|
|
anchors.top: parent.top
|
|
|
|
onClicked: {
|
|
|
|
popup.close()
|
|
|
|
addCustomTokenModal.open()
|
2020-06-03 16:49:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;autoSize:true;height:480;width:640}
|
|
|
|
}
|
|
|
|
##^##*/
|