quick format

This commit is contained in:
valere 2022-12-17 10:52:13 +01:00
parent d337ccd359
commit 406dfaab85
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ internal class ExtractMigrationDataUseCase {
return Realm.getInstance(realmConfiguration).use { realm -> return Realm.getInstance(realmConfiguration).use { realm ->
!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 realm.where<CryptoMetadataEntity>().findFirst()?.olmAccountData != null
} }
} }