quick format
This commit is contained in:
parent
d337ccd359
commit
406dfaab85
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue