feat(MintToken): Renamed sign transaction popup to a more generic name

`SignMintTokenTransactionPopup` to `SigntokenTransactionsPopup`.
This commit is contained in:
Noelia 2023-05-22 12:36:47 +02:00 committed by Noelia
parent a809185710
commit c50de310db
6 changed files with 10 additions and 9 deletions

View File

@ -182,7 +182,7 @@ ListModel {
section: "Popups"
}
ListElement {
title: "SignMintTokenTransactionPopup"
title: "SignTokenTransactionsPopup"
section: "Popups"
}
ListElement {

View File

@ -184,7 +184,7 @@
"ProfileSocialLinksPanel": [
"https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=14588%3A308727&t=cwFGbBHsAGOP0T5R-0"
],
"SignMintTokenTransactionPopup": [
"SignTokenTransactionsPopup": [
"https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=27140%3A521359&t=V6wYVbwctoC6uD2E-1"
],
"StatusCommunityCard": [

View File

@ -29,18 +29,19 @@ SplitView {
onClicked: dialog.open()
}
SignMintTokenTransactionPopup {
SignTokenTransactionsPopup {
id: dialog
anchors.centerIn: parent
title: qsTr("Sign transaction - Self-destruct %1 tokens").arg(dialog.collectibleName)
accountName: editorAccount.text
collectibleName: editorCollectible.text
networkName: editorNetwork.text
feeText: editorFee.text
isFeeLoading: editorFeeLoader.checked
onSignTransactionClicked: logs.logEvent("SignMintTokenTransactionPopup::onSignTransactionClicked")
onCancelClicked: logs.logEvent("SignMintTokenTransactionPopup::onCancelClicked")
onSignTransactionClicked: logs.logEvent("SignTokenTransactionsPopup::onSignTransactionClicked")
onCancelClicked: logs.logEvent("SignTokenTransactionsPopup::onCancelClicked")
}
}

View File

@ -252,10 +252,11 @@ SettingsPageLayout {
restoreMode: Binding.RestoreBindingOrValue
}
SignMintTokenTransactionPopup {
SignTokenTransactionsPopup {
id: popup
anchors.centerIn: Overlay.overlay
title: qsTr("Sign transaction - Mint %1 token").arg(popup.collectibleName)
collectibleName: parent.name
accountName: parent.accountName
networkName: parent.chainName
@ -312,7 +313,7 @@ SettingsPageLayout {
onRemotelyDestructClicked: signSelfDestructPopup.open()
}
SignMintTokenTransactionPopup {
SignTokenTransactionsPopup {
id: signSelfDestructPopup
function signSelfRemoteDestructTransaction() {

View File

@ -30,7 +30,6 @@ StatusDialog {
property int minTextWidth: 50
}
title: qsTr("Sign transaction - Mint %1 token").arg(root.collectibleName)
implicitWidth: 520 // by design
topPadding: 2 * Style.current.padding // by design
bottomPadding: topPadding

View File

@ -3,4 +3,4 @@ CreateChannelPopup 1.0 CreateChannelPopup.qml
CommunityTokenPermissionsPopup 1.0 CommunityTokenPermissionsPopup.qml
RemotelyDestructPopup 1.0 RemotelyDestructPopup.qml
RemotelyDestructAlertPopup 1.0 RemotelyDestructAlertPopup.qml
SignMintTokenTransactionPopup 1.0 SignMintTokenTransactionPopup.qml
SignTokenTransactionsPopup 1.0 SignTokenTransactionsPopup.qml