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"
|
2021-01-12 14:30:01 +00:00
|
|
|
import "../../../shared/status"
|
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
|
2021-02-18 16:36:05 +00:00
|
|
|
//% "Manage Assets"
|
|
|
|
title: qsTrId("manage-assets")
|
2020-06-18 15:56:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
TokenSettingsModalContent {
|
|
|
|
id: settingsModalContent
|
2021-01-12 14:30:01 +00:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.leftMargin: Style.current.padding
|
|
|
|
anchors.rightMargin: Style.current.padding
|
2020-06-03 16:49:18 +00:00
|
|
|
}
|
|
|
|
|
2021-01-12 14:30:01 +00:00
|
|
|
footer: StatusButton {
|
2020-06-18 15:56:53 +00:00
|
|
|
anchors.right: parent.right
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Add custom token"
|
2021-01-12 14:30:01 +00:00
|
|
|
text: qsTrId("add-custom-token")
|
2020-06-18 15:56:53 +00:00
|
|
|
anchors.top: parent.top
|
2020-11-02 18:18:13 +00:00
|
|
|
onClicked: addCustomTokenModal.openEditable()
|
2020-06-03 16:49:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;autoSize:true;height:480;width:640}
|
|
|
|
}
|
|
|
|
##^##*/
|