Skip to content

Commit

Permalink
refactor: change swap wallet preview
Browse files Browse the repository at this point in the history
  • Loading branch information
iGroza committed Jun 21, 2024
1 parent 70f78e6 commit d0535c0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/swap/swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,16 @@ export const Swap = observer(
</View>
<Spacer flex={1} />
<Text variant={TextVariant.t8} i18n={I18N.swapScreenTitle} />
{/* 24 is width of buttons, 10 is spacing */}
<Spacer width={24 + 10} />
<Spacer flex={1} />
<WalletRow
item={currentWallet}
type={WalletRowTypes.variant3}
onPress={onPressChangeWallet}
/>
<Spacer width={10} />
<DismissPopupButton />
</View>

<WalletRow
item={currentWallet}
type={WalletRowTypes.variant2}
onPress={onPressChangeWallet}
/>

<Spacer height={12} />

<SwapInput
Expand Down Expand Up @@ -306,7 +304,9 @@ const styles = createTheme({
},
header: {
flexDirection: 'row',
marginVertical: 16,
alignItems: 'center',
marginBottom: 16,
marginTop: 12,
},
headerButtonsContainer: {
flexDirection: 'row',
Expand Down

0 comments on commit d0535c0

Please sign in to comment.