minor updates and fixes
This commit is contained in:
parent
de264de643
commit
ae908c0fed
|
@ -29,11 +29,11 @@ export const initLocalSettings = function* initLocalSettings() {
|
|||
};
|
||||
|
||||
const restore = function* restore() {
|
||||
let hasMigration;
|
||||
try {
|
||||
if (isOfficialBuild) {
|
||||
const hasMigration = yield AsyncStorage.getItem('hasMigration');
|
||||
hasMigration = yield AsyncStorage.getItem('hasMigration');
|
||||
} else {
|
||||
let hasMigration;
|
||||
if (isIOS) {
|
||||
hasMigration = yield AsyncStorage.getItem('hasMigration');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue