mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 11:34:30 +03:00
updated
This commit is contained in:
parent
1b0a1e0970
commit
0a100811a7
@ -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)}
|
||||
|
Loading…
Reference in New Issue
Block a user