Skip to content

Commit

Permalink
feat: add missing from address to settle now screen
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechsimetka committed Sep 8, 2023
1 parent 5d4987d commit 1e08fa4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/lib/objects/split/views/settle-now.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import { settleDebt } from '../blockchain'
import { defaultBlockchainNetwork } from '$lib/adapters/transaction'
import type { Token } from '$lib/objects/schemas'
import { toSignificant } from '$lib/utils/format'
import { formatAddress, toSignificant } from '$lib/utils/format'
export let profile: UserType
export let balances: Balance[]
Expand Down Expand Up @@ -103,6 +103,21 @@
</ReadonlyText></Container
>

<Container gap={6} padX={0} padY={0}>
<div class="label">
<span class="text-sm">From</span>
<div class="input-wrapper">
<!-- svelte-ignore a11y-autofocus -->
<div class="text-lg input">
<p>Your account</p>
<p class="text-sm">
{formatAddress(profile.address,6,6)}
</p>
</div>
</div>
</div>
</Container>

<Container gap={6} padX={0} padY={0}>
<div class="label">
<span class="text-sm">Transaction fee (max)</span>
Expand Down

0 comments on commit 1e08fa4

Please sign in to comment.