Skip to content

Commit

Permalink
review: Apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Jul 12, 2024
1 parent 3ab0538 commit 0bbe4d9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ internal class RealmProvider {

val realmUploadTasks by lazy { Realm.open(realmUploadTasksConfiguration) }

fun realmTransfers(userId: Int): Realm {
return Realm.open(realmTransfersConfiguration)
}
fun realmTransfers(userId: Int): Realm = Realm.open(realmTransfersConfiguration)

fun closeRealm(realm: Realm) {
realm.close()
Expand Down

0 comments on commit 0bbe4d9

Please sign in to comment.