From 406dfaab85b8905282d75e8ac092a414b5c70a81 Mon Sep 17 00:00:00 2001 From: valere Date: Sat, 17 Dec 2022 10:52:13 +0100 Subject: [PATCH] quick format --- .../store/db/migration/rust/ExtractMigrationDataUseCase.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/store/db/migration/rust/ExtractMigrationDataUseCase.kt b/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/store/db/migration/rust/ExtractMigrationDataUseCase.kt index 32cb4a4565..78dece7e1a 100644 --- a/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/store/db/migration/rust/ExtractMigrationDataUseCase.kt +++ b/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/store/db/migration/rust/ExtractMigrationDataUseCase.kt @@ -50,8 +50,8 @@ internal class ExtractMigrationDataUseCase { return Realm.getInstance(realmConfiguration).use { realm -> !realm.isEmpty && // Check if there is a MetaData object - realm.where().count() > 0 - && realm.where().findFirst()?.olmAccountData != null + realm.where().count() > 0 && + realm.where().findFirst()?.olmAccountData != null } }