Skip to content

Commit

Permalink
fix(hw-610): fix-texts (#2066)
Browse files Browse the repository at this point in the history
Co-authored-by: iGroza <[email protected]>
  • Loading branch information
2 people authored and devkudasov committed Sep 17, 2024
1 parent a7d70df commit db676e7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
16 changes: 6 additions & 10 deletions src/components/transaction-finish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,12 @@ export const TransactionFinish = observer(
<NetworkFee fee={fee?.expectedFee} />

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

<Spacer minHeight={20} />
Expand Down
19 changes: 18 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,14 @@ export const TransactionNftFinish = ({

<NetworkFee fee={fee.expectedFee} />

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

<Spacer minHeight={20} />
<View style={styles.buttons}>
Expand Down Expand Up @@ -210,4 +218,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 db676e7

Please sign in to comment.