mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
remove underscore
This commit is contained in:
parent
b8f73373b2
commit
263dbde389
2 changed files with 1 additions and 4 deletions
|
|
@ -85,8 +85,6 @@ dependencies {
|
|||
transitive = true
|
||||
}
|
||||
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar'
|
||||
// lodash/underscore
|
||||
implementation 'com.github.javadev:underscore:1.34'
|
||||
//RxJava
|
||||
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.1.16'
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import android.view.LayoutInflater
|
|||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.CheckBox
|
||||
import com.github.underscore.U
|
||||
import com.habitrpg.android.habitica.R
|
||||
import com.habitrpg.android.habitica.extensions.notNull
|
||||
import com.habitrpg.android.habitica.models.social.Group
|
||||
|
|
@ -68,7 +67,7 @@ class ChallengesFilterRecyclerViewAdapter(entries: Collection<Group>) : Recycler
|
|||
|
||||
fun selectAll(groupsToCheck: List<Group>) {
|
||||
for (h in holderList) {
|
||||
h.checkbox.isChecked = U.find(groupsToCheck) { g -> h.group?.id == g.id }.isPresent
|
||||
h.checkbox.isChecked =groupsToCheck.find { g -> h.group?.id == g.id } != null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue