mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
feat: add favorite, pin& restore function.
This commit is contained in:
@@ -140,6 +140,7 @@ export const AddNotebookDialog = ({visible, close, toEdit = null}) => {
|
||||
animationType="fade"
|
||||
onShow={() => {
|
||||
refs = [];
|
||||
|
||||
if (toEdit !== null) {
|
||||
let topicsList = [];
|
||||
toEdit.topics.forEach(item => {
|
||||
@@ -234,6 +235,7 @@ export const AddNotebookDialog = ({visible, close, toEdit = null}) => {
|
||||
offset: 50 * index,
|
||||
index,
|
||||
})}
|
||||
keyExtractor={(item, index) => item + index}
|
||||
renderItem={({item, index}) => (
|
||||
<TopicItem
|
||||
item={item}
|
||||
|
||||
Reference in New Issue
Block a user