Skip to content

Commit

Permalink
Make string translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Jan 3, 2025
1 parent d0a3a8b commit c77d15d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import TextInput from '@/components/TextInput';
import { setSearchText } from '@/store/defaultPaymentTokenScreen';
import { useAppDispatch, useAppSelector } from '@/store/hooks';
import { setDefaultPaymentToken } from '@/store/secureStore';
import { Trans } from '@lingui/react/macro';
import { Trans, useLingui } from '@lingui/react/macro';
import { Sx, Text, View } from 'dripsy';
import { Check, Search } from 'lucide-react-native';
import useFilteredAssets from './useFilteredAssets';
Expand All @@ -17,6 +17,7 @@ export default function DefaultPaymentTokenScreen() {
const dispatch = useAppDispatch();
const searchText = useAppSelector(state => state.defaultPaymentTokenScreen.searchText);
const filteredAssets = useFilteredAssets();
const { t } = useLingui();

return (
<View sx={sx.root}>
Expand All @@ -28,7 +29,7 @@ export default function DefaultPaymentTokenScreen() {
value={searchText}
onChangeText={text => dispatch(setSearchText(text))}
startAdornment={<TextInputIconStartAdornment IconComponent={Search} />}
placeholder='Search tokens...'
placeholder={t`Search tokens...`}
clearButtonMode='always'
/>

Expand Down

0 comments on commit c77d15d

Please sign in to comment.