1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Various RN changes

This commit is contained in:
Laurent Cozic
2017-07-13 00:01:15 +01:00
parent d92f1c7eba
commit bde42a80b6
7 changed files with 64 additions and 20 deletions

View File

@ -283,10 +283,7 @@ async function initialize(dispatch, backButtonHandler) {
type: 'APPLICATION_LOADING_DONE',
});
if (initialFolders.length) {
const selectedFolder = await Folder.defaultFolder();
if (selectedFolder) NotesScreenUtils.openNoteList(selectedFolder.id);
}
await NotesScreenUtils.openDefaultNoteList();
} catch (error) {
reg.logger().error('Initialization error:', error);
}