parent
8da6847d42
commit
7b89fecf31
|
@ -29,9 +29,10 @@ StatusListView {
|
|||
width: ListView.view.width
|
||||
title: model.name
|
||||
sensor.enabled: false
|
||||
subTitle: qsTr("%n token(s) · Last updated %1 @%2",
|
||||
"",
|
||||
model.tokensCount).arg(LocaleUtils.formatDate(model.updatedAt * 1000)).arg(LocaleUtils.formatTime(model.updatedAt, Locale.ShortFormat))
|
||||
//TODO will be re-implemented post-MVP
|
||||
// subTitle: qsTr("%n token(s) · Last updated %1 @%2",
|
||||
// "",
|
||||
// model.tokensCount).arg(LocaleUtils.formatDate(model.updatedAt * 1000)).arg(LocaleUtils.formatTime(model.updatedAt, Locale.ShortFormat))
|
||||
statusListItemSubTitle.font.pixelSize: Style.current.additionalTextSize
|
||||
asset.name: model.image
|
||||
asset.isImage: true
|
||||
|
|
|
@ -137,30 +137,7 @@ ColumnLayout {
|
|||
Component {
|
||||
id: advancedTab
|
||||
ColumnLayout {
|
||||
spacing: 0
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 18
|
||||
Layout.bottomMargin: 18
|
||||
text: qsTr("Token lists")
|
||||
color: Theme.palette.baseColor1
|
||||
}
|
||||
SupportedTokenListsPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
sourcesOfTokensModel: root.sourcesOfTokensModel
|
||||
tokensListModel: root.tokensListModel
|
||||
}
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 40 + 18
|
||||
Layout.bottomMargin: 26
|
||||
text: qsTr("Asset settings")
|
||||
color: Theme.palette.baseColor1
|
||||
}
|
||||
StatusDialogDivider {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
spacing: 8
|
||||
StatusListItem {
|
||||
Layout.fillWidth: true
|
||||
title: qsTr("Show community assets when sending tokens")
|
||||
|
@ -203,6 +180,31 @@ ColumnLayout {
|
|||
displayThresholdSwitch.checked = !displayThresholdSwitch.checked
|
||||
}
|
||||
}
|
||||
StatusDialogDivider {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 64
|
||||
Layout.topMargin: 18
|
||||
Layout.bottomMargin: 18
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
text: qsTr("Token lists")
|
||||
color: Style.current.textColor
|
||||
}
|
||||
StatusBaseText {
|
||||
Layout.alignment: Qt.AlignRight
|
||||
text: qsTr("Last updated %1 @%2").arg(LocaleUtils.formatDate(root.sourcesOfTokensModel.get(0).updatedAt * 1000)).arg(LocaleUtils.formatTime(root.sourcesOfTokensModel.get(0).updatedAt, Locale.ShortFormat))
|
||||
color: Style.current.darkGrey
|
||||
}
|
||||
}
|
||||
SupportedTokenListsPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
sourcesOfTokensModel: root.sourcesOfTokensModel
|
||||
tokensListModel: root.tokensListModel
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue