mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-13 12:38:58 +01:00
Lift toolbar on scroll in extension details and manga controllers
This commit is contained in:
@@ -18,8 +18,9 @@ class ElevationAppBarLayout @JvmOverloads constructor(
|
||||
origStateAnimator = stateListAnimator
|
||||
}
|
||||
|
||||
fun enableElevation() {
|
||||
fun enableElevation(liftOnScroll: Boolean) {
|
||||
stateListAnimator = origStateAnimator
|
||||
isLiftOnScroll = liftOnScroll
|
||||
}
|
||||
|
||||
fun disableElevation() {
|
||||
|
||||
Reference in New Issue
Block a user