Skip to content

Commit 2452cf7

Browse files
committed
fix(send): #2528 coin selection row background color
1 parent d62bdfc commit 2452cf7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/screens/Wallets/Send/CoinSelection.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import { BottomSheetScrollView } from '@gorhom/bottom-sheet';
22
import React, { ReactElement, memo, useMemo, useState } from 'react';
33
import { useTranslation } from 'react-i18next';
4-
import { StyleSheet, View } from 'react-native';
4+
import { ScrollView, StyleSheet, View } from 'react-native';
55

66
import BottomSheetNavigationHeader from '../../../components/BottomSheetNavigationHeader';
77
import GradientView from '../../../components/GradientView';
88
import SafeAreaInset from '../../../components/SafeAreaInset';
99
import Switch from '../../../components/Switch';
1010
import Tag from '../../../components/Tag';
1111
import Button from '../../../components/buttons/Button';
12-
import { ScrollView } from '../../../styles/components';
1312
import { BodyMSB, BodySSB, Caption13Up, Subtitle } from '../../../styles/text';
1413

1514
import { IUtxo } from 'beignet';
@@ -34,7 +33,7 @@ import {
3433
} from '../../../utils/wallet/transactions';
3534

3635
/**
37-
* Some UTXO's may contain the same tx_hash.
36+
* Some UTXOs may contain the same tx_hash.
3837
* So we include the tx_pos to ensure we can quickly distinguish.
3938
* @param {IUtxo} utxo
4039
* @return string
@@ -65,9 +64,9 @@ const UtxoRow = ({
6564

6665
{tags && (
6766
<ScrollView
67+
style={styles.coinTagsScroll}
6868
horizontal={true}
69-
centerContent={true}
70-
style={styles.coinTagsScroll}>
69+
centerContent={true}>
7170
{tags.map((t) => (
7271
<Tag style={styles.tag} key={t} value={t} />
7372
))}
@@ -94,7 +93,7 @@ const CoinSelection = ({
9493
return transaction.inputs;
9594
}, [transaction.inputs]);
9695

97-
//Combine known utxo's with current transaction inputs in the event we're using utxo's from the address viewer.
96+
//Combine known UTXOs with current transaction inputs in the event we're using UTXOs from the address viewer.
9897
const combinedUtxos = useMemo(() => {
9998
const combined: IUtxo[] = [...utxos, ...inputs];
10099

0 commit comments

Comments
 (0)