mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 20:29:02 +00:00
Fix loading challenge tasks
This commit is contained in:
parent
488d02ef1f
commit
c98efbe140
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class RealmChallengeLocalRepository(realm: Realm) : RealmBaseLocalRepository(rea
|
|||
|
||||
override fun getTasks(challengeID: String): Flow<List<Task>> {
|
||||
return realm.where(Task::class.java)
|
||||
.equalTo("userId", challengeID)
|
||||
.equalTo("ownerID", challengeID)
|
||||
.findAll()
|
||||
.toFlow()
|
||||
.filter { realmObject -> realmObject.isLoaded }
|
||||
|
|
|
|||
Loading…
Reference in a new issue