fixed switch account confused as blog from feed

This commit is contained in:
u-e 2019-07-07 12:54:15 +03:00
parent 28ba446114
commit bab124a766

View File

@ -65,7 +65,7 @@ class PostsView extends Component {
isLoading: false, isLoading: false,
isPostsLoading: false, isPostsLoading: false,
isHideImage: false, isHideImage: false,
selectedFilterIndex: 0, selectedFilterIndex: 1,
isNoPost: false, isNoPost: false,
}, },
() => { () => {
@ -284,7 +284,7 @@ class PostsView extends Component {
initialNumToRender={10} initialNumToRender={10}
ListFooterComponent={this._renderFooter} ListFooterComponent={this._renderFooter}
onScrollBeginDrag={() => this._handleOnScrollStart()} onScrollBeginDrag={() => this._handleOnScrollStart()}
refreshControl={ refreshControl={(
<RefreshControl <RefreshControl
refreshing={refreshing} refreshing={refreshing}
onRefresh={this._handleOnRefreshPosts} onRefresh={this._handleOnRefreshPosts}
@ -293,7 +293,7 @@ class PostsView extends Component {
titleColor="#fff" titleColor="#fff"
colors={['#fff']} colors={['#fff']}
/> />
} )}
ref={ref => { ref={ref => {
this.flatList = ref; this.flatList = ref;
}} }}