Skip to content

Commit

Permalink
added Conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
myxmaster committed Sep 20, 2023
1 parent c4c7ab0 commit e37ab4d
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions components/CollapsedQR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import CopyButton from './CopyButton';
import { localeString } from './../utils/LocaleUtils';
import { themeColor } from './../utils/ThemeUtils';
import Touchable from './Touchable';
import Conversion from './Conversion';

const logo = require('../assets/images/Launcher.png');

Expand Down Expand Up @@ -128,18 +129,16 @@ export default class CollapsedQR extends React.Component<
return (
<React.Fragment>
{satAmount && (
<View style={{ flexDirection: 'row', alignSelf: 'center' }}>
<Text
style={{
color: themeColor('secondaryText'),
marginRight: 5,
fontSize: 16,
fontFamily: 'Lato-Regular'
}}
>
{localeString('views.Receive.amount')}:
</Text>
<View
style={{
flexDirection: 'column',
alignItems: 'center'
}}
>
<Amount sats={satAmount} toggleable></Amount>
<View>
<Conversion sats={satAmount} sensitive />
</View>
</View>
)}
{!hideText && !textBottom && (
Expand Down

0 comments on commit e37ab4d

Please sign in to comment.