fix ER migration

This commit is contained in:
valere 2022-12-15 18:42:10 +01:00
parent b224a8d626
commit 49239e6bf2
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ internal class ExtractMigrationDataUseCase {
!realm.isEmpty &&
// Check if there is a MetaData object
realm.where<CryptoMetadataEntity>().count() > 0
&& realm.where<CryptoMetadataEntity>().findFirst()?.olmAccountData != null
}
}