Skip to content

Commit

Permalink
#1309 - compact done using should compact and not explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Feb 26, 2024
1 parent 93de021 commit 33230b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/openchs-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"lodash": "4.17.21",
"moment": "2.29.4",
"native-base": "3.4.9",
"openchs-models": "1.31.39",
"openchs-models": "1.31.41",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-native": "0.72.3",
Expand Down
1 change: 0 additions & 1 deletion packages/openchs-android/src/GlobalContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class GlobalContext {

async initialiseGlobalContext(appStore, realmFactory) {
this.db = await realmFactory.createRealm();
this.db.realmDb.compact();
this.beanRegistry.init(this.db);
this.reduxStore = appStore.create(this.beanRegistry.beansMap);
this.beanRegistry.setReduxStore(this.reduxStore);
Expand Down

0 comments on commit 33230b5

Please sign in to comment.