diff --git a/storybook/pages/ErrorTagPage.qml b/storybook/pages/ErrorTagPage.qml index dabc31820..259012c89 100644 --- a/storybook/pages/ErrorTagPage.qml +++ b/storybook/pages/ErrorTagPage.qml @@ -27,6 +27,7 @@ SplitView { anchors.centerIn: parent text: ctrlText.text buttonText: ctrlButtonText.text + buttonVisible: buttonVisible.checked asset.name: ctrlAssetName.text loading: ctrlLoading.checked onButtonClicked: logs.logEvent("ErrorTag::onButtonClicked", [], arguments) @@ -85,6 +86,10 @@ SplitView { id: ctrlLoading text: "Loading" } + Switch { + id: buttonVisible + text: "Button Visible" + } Item { Layout.fillHeight: true } } } diff --git a/storybook/pages/SwapInputPanelPage.qml b/storybook/pages/SwapInputPanelPage.qml index 51320ffc4..a18d61f0e 100644 --- a/storybook/pages/SwapInputPanelPage.qml +++ b/storybook/pages/SwapInputPanelPage.qml @@ -86,7 +86,8 @@ SplitView { swapSide: SwapInputPanel.SwapSide.Pay fiatInputInteractive: ctrlFiatInputInteractive.checked swapExchangeButtonWidth: swapButton.width - loading: ctrlLoading.checked + mainInputLoading: ctrlMainInputLoading.checked + bottomTextLoading: ctrlBottomTextLoading.checked } SwapInputPanel { @@ -107,7 +108,8 @@ SplitView { swapSide: SwapInputPanel.SwapSide.Receive fiatInputInteractive: ctrlFiatInputInteractive.checked swapExchangeButtonWidth: swapButton.width - loading: ctrlLoading.checked + mainInputLoading: ctrlMainInputLoading.checked + bottomTextLoading: ctrlBottomTextLoading.checked } SwapExchangeButton { @@ -191,8 +193,12 @@ SplitView { checked: false } Switch { - id: ctrlLoading - text: "Loading" + id: ctrlMainInputLoading + text: "mainInputLoading" + } + Switch { + id: ctrlBottomTextLoading + text: "bottomTextLoading" } Label { @@ -200,16 +206,16 @@ SplitView { font.weight: Font.Medium text: "Pay: