Skip to content

Commit

Permalink
Merge pull request #1610 from myxmaster/fixed-path-translations
Browse files Browse the repository at this point in the history
Localized payment path strings
  • Loading branch information
kaloudis committed Aug 21, 2023
2 parents c4b4824 + da35e27 commit b72e1c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/PaymentPath.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Text, TouchableOpacity, View } from 'react-native';

import PrivacyUtils from '../utils/PrivacyUtils';
import { themeColor } from '../utils/ThemeUtils';
import { localeString } from '../utils/LocaleUtils';

import Amount from './Amount';
import KeyValue from './KeyValue';
Expand Down Expand Up @@ -169,15 +170,17 @@ export default function PaymentPath(props: PaymentPathProps) {

<View style={{ marginLeft: 50, marginBottom: 15 }}>
<KeyValue
keyValue={'Forwarded'}
keyValue={localeString(
'models.Payment.forwarded'
)}
value={
<Amount sats={hop.forwarded} toggleable />
}
sensitive
/>

<KeyValue
keyValue={'Fee'}
keyValue={localeString('models.Payment.fee')}
value={<Amount sats={hop.fee} toggleable />}
sensitive
/>
Expand Down

0 comments on commit b72e1c6

Please sign in to comment.