mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Add parent background back to bottom sheets
so android 14's back progress animation has a background behind it
This commit is contained in:
parent
3d909832ee
commit
2b9f360f1a
1 changed files with 0 additions and 5 deletions
|
@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.widget
|
|||
|
||||
import android.app.Activity
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.core.view.WindowInsetsControllerCompat
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
|
@ -37,10 +36,6 @@ abstract class E2EBottomSheetDialog<VB : ViewBinding>(activity: Activity) :
|
|||
window.navigationBarColor = activity.window.navigationBarColor
|
||||
wic.isAppearanceLightNavigationBars = isLight
|
||||
}
|
||||
(contentView.parent as View).background = null
|
||||
contentView.post {
|
||||
(contentView.parent as View).background = null
|
||||
}
|
||||
contentView.requestLayout()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue