mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix pinned items not showing
This commit is contained in:
@@ -127,10 +127,10 @@ const SimpleList = ({
|
||||
? 155 - insets.top
|
||||
: 155 - 60 - insets.top,
|
||||
}}>
|
||||
{pinned && pinned.notebooks && pinned.notebooks.length > 0 ? (
|
||||
{pinned && pinned.length > 0 ? (
|
||||
<>
|
||||
<FlatList
|
||||
data={pinned.notebooks}
|
||||
data={pinned}
|
||||
keyExtractor={(item, index) => item.id.toString()}
|
||||
renderItem={({item, index}) =>
|
||||
item.type === 'notebook' ? (
|
||||
|
||||
Reference in New Issue
Block a user