mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-28 10:22:38 +03:00
loading enhanced
This commit is contained in:
parent
d13c2bd5ee
commit
599a4174c4
@ -32,9 +32,9 @@ class PostsContainer extends Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
const { currentAccount, isLoginDone } = this.props;
|
||||
const { currentAccount, isLoginDone, tag } = this.props;
|
||||
|
||||
if (!isLoginDone) {
|
||||
if (!isLoginDone && !tag) {
|
||||
return (
|
||||
<Fragment>
|
||||
<PostCardPlaceHolder />
|
||||
|
@ -121,20 +121,12 @@ class ProfileScreen extends Component {
|
||||
})}
|
||||
style={styles.postTabBar}
|
||||
>
|
||||
{user && (
|
||||
<Posts
|
||||
filterOptions={[
|
||||
'NEW POSTS',
|
||||
'VOTES',
|
||||
'REPLIES',
|
||||
'MENTIONS',
|
||||
'FOLLOWS',
|
||||
'REBLOGS',
|
||||
]}
|
||||
getFor="blog"
|
||||
tag={username}
|
||||
/>
|
||||
)}
|
||||
<Posts
|
||||
filterOptions={['NEW POSTS', 'VOTES', 'REPLIES', 'MENTIONS', 'FOLLOWS', 'REBLOGS']}
|
||||
getFor="blog"
|
||||
tag={username}
|
||||
key={username}
|
||||
/>
|
||||
</View>
|
||||
<View
|
||||
tabLabel={intl.formatMessage({
|
||||
|
Loading…
Reference in New Issue
Block a user