Skip to content

Commit

Permalink
fix(hw-610): fix-texts
Browse files Browse the repository at this point in the history
  • Loading branch information
iGroza committed Aug 28, 2024
1 parent 1fa0679 commit 59376d1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/transaction-finish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ export const TransactionFinish = observer(
<Text
variant={TextVariant.t14}
color={Color.textBase2}
i18n={I18N.transactionConfirmationHAQQ}
children={app.provider.name}
/>
<Text
variant={TextVariant.t14}
color={Color.textBase2}
i18n={I18N.transactionConfirmationHQ}
children={`${STRINGS.NBSP}(${app.provider.denom})`}
/>
</View>

Expand Down
23 changes: 22 additions & 1 deletion src/components/transaction-nft-finish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {Fee} from '@app/models/fee';
import {NftItem} from '@app/models/nft';
import {sendNotification} from '@app/services';
import {TransactionResponse} from '@app/types';
import {STRINGS} from '@app/variables/common';

import {ImageWrapper} from './image-wrapper';

Expand Down Expand Up @@ -110,7 +111,18 @@ export const TransactionNftFinish = ({

<NetworkFee fee={fee.expectedFee} />

<Spacer />
<View style={styles.providerContainer}>
<Text
variant={TextVariant.t14}
color={Color.textBase2}
children={app.provider.name}
/>
<Text
variant={TextVariant.t14}
color={Color.textBase2}
children={`${STRINGS.NBSP}(${app.provider.denom})`}
/>
</View>

<Spacer minHeight={20} />
<View style={styles.buttons}>
Expand Down Expand Up @@ -210,4 +222,13 @@ const styles = createTheme({
alignSelf: 'center',
justifyContent: 'center',
},
providerContainer: {
backgroundColor: Color.bg8,
borderRadius: 8,
paddingHorizontal: 12,
paddingVertical: 6,
marginTop: 16,
alignSelf: 'center',
flexDirection: 'row',
},
});

0 comments on commit 59376d1

Please sign in to comment.