mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-28 07:55:08 +03:00
fixed bug
This commit is contained in:
parent
c0bb882a07
commit
121d45c0f9
@ -10,9 +10,10 @@ import Tag from './view/tagView';
|
||||
import TextWithIcon from './view/textWithIconView';
|
||||
import WalletLineItem from './view/walletLineItemView';
|
||||
import StickyBar from './view/stickyBarView';
|
||||
import Card from './view/cardView';
|
||||
|
||||
export {
|
||||
// Card,
|
||||
Card,
|
||||
StickyBar,
|
||||
Chip,
|
||||
GrayWrapper,
|
||||
|
@ -26,6 +26,7 @@ class WalletDetailsView extends Component {
|
||||
|
||||
render() {
|
||||
const { balance } = this.props;
|
||||
|
||||
return (
|
||||
<View>
|
||||
<WalletLineItem
|
||||
|
@ -16,6 +16,7 @@ import { Wallet } from '../../../components/wallet';
|
||||
// Utilitites
|
||||
import { getFormatedCreatedDate } from '../../../utils/time';
|
||||
import { getRcPower, getVotingPower } from '../../../utils/manaBar';
|
||||
import parseToken from '../../../utils/parseToken';
|
||||
|
||||
// Styles
|
||||
import styles from './profileStyles';
|
||||
@ -143,7 +144,9 @@ class ProfileScreen extends Component {
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
<View tabLabel={user && user.balance ? `$${user && user.balance}` : 'Wallet'}>
|
||||
<View
|
||||
tabLabel={user && user.balance ? `$${user && parseToken(user.balance)}` : 'Wallet'}
|
||||
>
|
||||
<Wallet user={user} />
|
||||
</View>
|
||||
</ScrollableTabView>
|
||||
|
Loading…
Reference in New Issue
Block a user