diff --git a/storybook/pages/CommunityNewTokenViewPage.qml b/storybook/pages/CommunityNewTokenViewPage.qml index 3c8ad3e227..35de677b6d 100644 --- a/storybook/pages/CommunityNewTokenViewPage.qml +++ b/storybook/pages/CommunityNewTokenViewPage.qml @@ -27,6 +27,7 @@ SplitView { CommunityNewTokenView { anchors.fill: parent anchors.margins: 50 + isAssetView: isAssetBox.checked layer1Networks: NetworksModel.layer1Networks layer2Networks: NetworksModel.layer2Networks testNetworks: NetworksModel.testNetworks @@ -49,4 +50,15 @@ SplitView { logsView.logText: logs.logText } } + + Pane { + SplitView.minimumWidth: 300 + SplitView.preferredWidth: 300 + + CheckBox { + id: isAssetBox + text: "Is Assets View?" + checked: false + } + } } diff --git a/ui/app/AppLayouts/Chat/views/communities/CommunityNewTokenView.qml b/ui/app/AppLayouts/Chat/views/communities/CommunityNewTokenView.qml index 427595152e..2f406adde2 100644 --- a/ui/app/AppLayouts/Chat/views/communities/CommunityNewTokenView.qml +++ b/ui/app/AppLayouts/Chat/views/communities/CommunityNewTokenView.qml @@ -34,11 +34,11 @@ StatusScrollView { property string chainIcon property var tokensModel - // Collectible properties + // Collectible properties (ERC721) readonly property alias notTransferable: transferableChecker.checked readonly property alias selfDestruct: selfDestructChecker.checked - // Asset properties + // Asset properties (ERC20) readonly property int assetDecimals: assetDecimalsInput.text ? parseInt(assetDecimalsInput.text) : 0 // Network related properties: