minor updates and fixes

This commit is contained in:
GOVINDDIXIT 2020-07-29 12:58:05 +05:30
parent de264de643
commit ae908c0fed
7 changed files with 8 additions and 8 deletions

View File

@ -29,11 +29,11 @@ export const initLocalSettings = function* initLocalSettings() {
}; };
const restore = function* restore() { const restore = function* restore() {
let hasMigration;
try { try {
if (isOfficialBuild) { if (isOfficialBuild) {
const hasMigration = yield AsyncStorage.getItem('hasMigration'); hasMigration = yield AsyncStorage.getItem('hasMigration');
} else { } else {
let hasMigration;
if (isIOS) { if (isIOS) {
hasMigration = yield AsyncStorage.getItem('hasMigration'); hasMigration = yield AsyncStorage.getItem('hasMigration');
} }