Skip to content

Commit

Permalink
fix: send flow polishing (#5161)
Browse files Browse the repository at this point in the history
* fix: spacing on send form

* fix: text on send button

* fix: update action button locales on send flow

* Update packages/shared/locales/en.json
  • Loading branch information
nicole-obrien committed Nov 8, 2022
1 parent b7b8047 commit 80e8f2d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/desktop/components/SendButton.svelte
Expand Up @@ -17,7 +17,7 @@
</script>

<OnboardingButton
primaryText={localize('general.sendFunds')}
secondaryText={localize('general.sendTokensToAddress')}
primaryText={localize('general.sendAssets')}
secondaryText={localize('general.sendAssetToAddress')}
onClick={onSendClick}
/>
Expand Up @@ -247,7 +247,7 @@
{/if}

<Button classes="w-full" onClick={onConfirm} disabled={isTransferring} isBusy={isTransferring}>
{localize('actions.confirm')}
{localize('actions.send')}
</Button>
</popup-buttons>
</send-confirmation-popup>
8 changes: 4 additions & 4 deletions packages/shared/components/popups/send/SendFormPopup.svelte
Expand Up @@ -119,10 +119,10 @@
<Text type={TextType.h3} fontWeight={FontWeight.semibold} classes="text-left">
{localize('popups.transaction.title')}
</Text>
{#if ownsNfts}
<Tabs bind:activeTab {tabs} />
{/if}
<send-form-inputs class="flex flex-col space-y-4">
{#if ownsNfts}
<Tabs bind:activeTab {tabs} />
{/if}
{#if activeTab === SendForm.SendToken}
<AssetAmountInput bind:this={assetAmountInput} bind:asset bind:rawAmount bind:unit />
{:else}
Expand Down Expand Up @@ -150,7 +150,7 @@
{localize('actions.cancel')}
</Button>
<Button classes="w-full" onClick={onContinue}>
{localize('actions.send')}
{localize('actions.next')}
</Button>
</popup-buttons>
</send-form-popup>
4 changes: 2 additions & 2 deletions packages/shared/locales/en.json
Expand Up @@ -1151,8 +1151,8 @@
"sendPayment": "Send Payment",
"moveFunds": "Internal Transfer",
"sendTo": "Send To",
"sendFunds": "Send funds",
"sendTokensToAddress": "Send tokens to an address",
"sendAssets": "Send assets",
"sendAssetToAddress": "Send asset to an address",
"sendToAddress": "Send to address",
"sendToken": "Send token",
"sendNft": "Send NFT",
Expand Down

0 comments on commit 80e8f2d

Please sign in to comment.