1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-21 23:17:42 +02:00

Save scroll position in notes

This commit is contained in:
Laurent Cozic
2017-07-25 21:24:30 +01:00
parent d5e39d153f
commit ce6ca38fa0
4 changed files with 18 additions and 14 deletions

View File

@ -50,12 +50,7 @@ class NotesScreenComponent extends BaseScreenComponent {
parentId: parent.id,
});
if (source == props.notesSource) {
console.info('NO SOURCE CHAGNE');
console.info(source);
console.info(props.notesSource);
return;
}
if (source == props.notesSource) return;
let notes = [];
if (props.notesParentType == 'Folder') {
@ -103,7 +98,7 @@ class NotesScreenComponent extends BaseScreenComponent {
{ title: _('Edit notebook'), onPress: () => { this.editFolder_onPress(this.props.selectedFolderId); } },
];
} else {
return []; // TODO
return []; // For tags - TODO
}
}