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

RN: Better UI to handle conflicts

This commit is contained in:
Laurent Cozic
2017-07-15 16:54:19 +01:00
parent dde0da571e
commit aabc58224a
4 changed files with 33 additions and 9 deletions

View File

@ -0,0 +1,15 @@
import { Folder } from 'lib/models/folder.js'
class FoldersScreenUtils {
static async refreshFolders() {
let initialFolders = await Folder.all({ includeConflictFolder: true });
this.dispatch({
type: 'FOLDERS_UPDATE_ALL',
folders: initialFolders,
});
}
}
export { FoldersScreenUtils }