Minor updates

(cherry picked from commit 477aedbffa56c99dec658aa0933ad399632631bd)
This commit is contained in:
arkon 2020-09-20 10:34:22 -04:00 committed by Jobobby04
parent 10f15d54f3
commit a87f6811e5
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
// Job scheduling
final work_version = '2.5.0-alpha01'
final work_version = '2.5.0-alpha02'
implementation "androidx.work:work-runtime:$work_version"
implementation "androidx.work:work-runtime-ktx:$work_version"

View File

@ -76,7 +76,7 @@ class LibrarySettingsSheet(
* Returns true if there's at least one filter from [FilterGroup] active.
*/
fun hasActiveFilters(): Boolean {
return filterGroup.items.any { it.state != Item.TriStateGroup.STATE_IGNORE }
return filterGroup.items.any { it.state != STATE_IGNORE }
}
inner class FilterGroup : Group {