This commit is contained in:
LagradOst 2022-01-16 23:53:01 +01:00
parent 1e0d2c07ce
commit 030f0e98c3
3 changed files with 3 additions and 4 deletions

View File

@ -229,7 +229,6 @@ class SflixProvider(providerUrl: String, providerName: String) : MainAPI() {
} ?: tryParseJson<List<String>>(data))?.distinct()
urls?.pmap { url ->
println("FETCHING URL $url")
val sources = app.get(
url,
interceptor = WebViewResolver(

View File

@ -122,8 +122,9 @@ open class FullScreenPlayer : AbstractPlayerFragment(R.layout.fragment_player) {
/** Returns false if the touch is on the status bar or navigation bar*/
private fun isValidTouch(rawX: Float, rawY: Float): Boolean {
val statusHeight = statusBarHeight ?: 0
val navHeight = navigationBarHeight ?: 0
return rawY > statusHeight && rawX < screenWidth - navHeight
// val navHeight = navigationBarHeight ?: 0
// nav height is removed because screenWidth already takes into account that
return rawY > statusHeight && rawX < screenWidth //- navHeight
}
private fun animateLayoutChanges() {

View File

@ -19,7 +19,6 @@
android:layout_height="match_parent"
android:background="@color/black_overlay" />
</FrameLayout>
<!--
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"