diff --git a/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml b/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml index c2b9fb0935..52e16cf3f6 100644 --- a/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml +++ b/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml @@ -91,6 +91,7 @@ SettingsPageLayout { property var tokenOwnersModel property var selfDestructTokensList + property bool selfDestruct readonly property var initialItem: (root.tokensModel && root.tokensModel.count > 0) ? mintedTokensView : welcomeView onInitialItemChanged: updateInitialStackView() @@ -275,7 +276,7 @@ SettingsPageLayout { airdropEnabled: true retailEnabled: false - remotelySelfDestructEnabled: true + remotelySelfDestructVisible: d.selfDestruct burnEnabled: false onAirdropClicked: d.airdropClicked() @@ -372,6 +373,12 @@ SettingsPageLayout { value: view.tokenOwnersModel } + Binding { + target: d + property: "selfDestruct" + value: view.selfDestruct + } + Instantiator { id: instantiator diff --git a/ui/app/AppLayouts/Chat/panels/communities/MintTokensFooterPanel.qml b/ui/app/AppLayouts/Chat/panels/communities/MintTokensFooterPanel.qml index 6f8f24ce8c..8ce1b7c14a 100644 --- a/ui/app/AppLayouts/Chat/panels/communities/MintTokensFooterPanel.qml +++ b/ui/app/AppLayouts/Chat/panels/communities/MintTokensFooterPanel.qml @@ -13,7 +13,7 @@ Control { property alias airdropEnabled: airdropButton.enabled property alias retailEnabled: retailButton.enabled - property alias remotelySelfDestructEnabled: remotelySelfDestructButton.enabled + property alias remotelySelfDestructVisible: remotelySelfDestructButton.visible property alias burnEnabled: burnButton.enabled signal airdropClicked