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() {
|
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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue