Browse Source

removed false check since db key will be resolved in every case here

pull/11/head
Tim Glasgow 2 years ago
parent
commit
961b51fd9a
  1. 2
      squarenotsquare/src/realm/DbInit.js

2
squarenotsquare/src/realm/DbInit.js

@ -29,11 +29,9 @@ export async function initDB(dbKeyRef = 'squareDB', dbLocation = Realm.defaultPa
}
let dbKey = new Uint8Array(64);
if (fromStore !== false){
for (let i = 0; i < 64; ++i){
dbKey[i] = fromStore.charAt(i);
}
}
let dbRef = null;

Loading…
Cancel
Save