fix ER migration
This commit is contained in:
parent
b224a8d626
commit
49239e6bf2
|
@ -51,6 +51,7 @@ internal class ExtractMigrationDataUseCase {
|
||||||
!realm.isEmpty &&
|
!realm.isEmpty &&
|
||||||
// Check if there is a MetaData object
|
// Check if there is a MetaData object
|
||||||
realm.where<CryptoMetadataEntity>().count() > 0
|
realm.where<CryptoMetadataEntity>().count() > 0
|
||||||
|
&& realm.where<CryptoMetadataEntity>().findFirst()?.olmAccountData != null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue