diff --git a/squarenotsquare/src/realm/DbInit.js b/squarenotsquare/src/realm/DbInit.js index d67ac30..6ab35b5 100644 --- a/squarenotsquare/src/realm/DbInit.js +++ b/squarenotsquare/src/realm/DbInit.js @@ -29,10 +29,8 @@ 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); - } + for (let i = 0; i < 64; ++i){ + dbKey[i] = fromStore.charAt(i); } let dbRef = null;