Merge develop into new/android-migration

This commit is contained in:
Filipe Brito 2019-10-01 10:51:27 -03:00
parent 486a9676dc
commit e09aac90c2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const restore = function* restore() {
server: RNUserDefaults.get('currentServer')
});
if (!hasMigration && isIOS) {
if (!hasMigration) {
let servers = yield RNUserDefaults.objectForKey(SERVERS);
// if not have current
if (servers && servers.length !== 0 && (!token || !server)) {