mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 15:41:49 +01:00
Expand peek height of tracking sheet
This commit is contained in:
parent
12ba03db05
commit
92af8d508e
@ -45,7 +45,7 @@ class TrackingBottomSheet(private val controller: MangaDetailsController) :
|
|||||||
sheetBehavior = BottomSheetBehavior.from(view.parent as ViewGroup)
|
sheetBehavior = BottomSheetBehavior.from(view.parent as ViewGroup)
|
||||||
setEdgeToEdge(activity, view)
|
setEdgeToEdge(activity, view)
|
||||||
val height = activity.window.decorView.rootWindowInsets.systemWindowInsetBottom
|
val height = activity.window.decorView.rootWindowInsets.systemWindowInsetBottom
|
||||||
sheetBehavior.peekHeight = 380.dpToPx + height
|
sheetBehavior.peekHeight = 500.dpToPx + height
|
||||||
|
|
||||||
sheetBehavior.addBottomSheetCallback(
|
sheetBehavior.addBottomSheetCallback(
|
||||||
object : BottomSheetBehavior.BottomSheetCallback() {
|
object : BottomSheetBehavior.BottomSheetCallback() {
|
||||||
|
Loading…
Reference in New Issue
Block a user