Bump dependencies + linting

This commit is contained in:
arkon
2022-09-10 23:57:03 -04:00
parent 5b474e96b7
commit cd3cb72b65
33 changed files with 195 additions and 104 deletions

View File

@@ -117,7 +117,7 @@ open class ExtendedNavigationView @JvmOverloads constructor(
enum class State(val value: Int) {
IGNORE(0),
INCLUDE(1),
EXCLUDE(2)
EXCLUDE(2),
}
override fun getStateDrawable(context: Context): Drawable? {

View File

@@ -46,7 +46,9 @@ class MaterialFastScroll @JvmOverloads constructor(context: Context, attrs: Attr
} else {
event.x > handle.width + ViewCompat.getPaddingStart(handle)
}
) return false
) {
return false
}
// end
if (ignoreTouchesOutsideHandle &&

View File

@@ -39,7 +39,9 @@ class TachiyomiChangeHandlerFrameLayout(
behavior.apply {
shouldHeaderOverlap = overlapHeader
}
} else null
} else {
null
}
if (!enable) {
// The behavior doesn't reset translationY when shouldHeaderOverlap is false
translationY = 0F

View File

@@ -48,7 +48,9 @@ class TachiyomiSearchView @JvmOverloads constructor(
clearFocus()
listener?.onQueryTextSubmit(query.toString())
true
} else false
} else {
false
}
}
}