This commit is contained in:
u-e 2019-03-04 23:57:12 +03:00
parent 1b0a1e0970
commit 0a100811a7

View File

@ -46,7 +46,7 @@ class BookmarksScreen extends Component {
handleOnPress={() => (isFavorites
? handleOnFavoritePress(item.account)
: handleOnBookarkPress(item.permlink, item.author))
}
}
index={index}
isClickable
text={text}
@ -76,9 +76,9 @@ class BookmarksScreen extends Component {
) : (
!isNoItem && (
<FlatList
data={
data.map(item => (item._id !== data[item._id] && isFavorites ? item.account !== data[item.account] && item : item))
}
data={data.map(item => (item._id !== data[item._id] && isFavorites
? item.account !== data[item.account] && item
: item))}
keyExtractor={item => item._id}
removeClippedSubviews={false}
renderItem={({ item, index }) => this._renderItem(item, index, type)}