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

Added navigator and handle OneDrive auth

This commit is contained in:
Laurent Cozic
2017-11-06 18:35:04 +00:00
parent d763b13e44
commit 8dd41dca96
12 changed files with 305 additions and 77 deletions

View File

@@ -231,8 +231,12 @@ class BaseApplication {
if (this.store()) return this.store().dispatch(action);
}
reducer(state = defaultState, action) {
return reducer(state, action);
}
initRedux() {
this.store_ = createStore(reducer, applyMiddleware(this.generalMiddleware()));
this.store_ = createStore(this.reducer, applyMiddleware(this.generalMiddleware()));
BaseModel.dispatch = this.store().dispatch;
FoldersScreenUtils.dispatch = this.store().dispatch;
}