Skip to content

Commit

Permalink
#1048 - wire success call back in case of retry
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Oct 26, 2023
1 parent c57fbfb commit 55ba8c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/openchs-android/src/action/LoginActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class LoginActions {
let newState = _.assignIn({}, state, {percentProgress: 0});
//restore dump calls dispatch internally
setTimeout(() => {
restoreDump(context, action, action.source);
restoreDump(context, action, action.source, action.successCb);
}, 1);
return newState;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/openchs-android/src/service/BackupRestoreRealm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {EntityMetaData, EntitySyncStatus, IdentifierAssignment, UserInfo, Concept, MyGroups, UserSubjectAssignment} from 'avni-models';
import {EntitySyncStatus, IdentifierAssignment, UserInfo, Concept, MyGroups, UserSubjectAssignment} from 'openchs-models';
import FileSystem from "../model/FileSystem";
import General from "../utility/General";
import fs from 'react-native-fs';
Expand Down

0 comments on commit 55ba8c1

Please sign in to comment.