From 030f0e98c3a8909dc9c5645a654c5b6e23fc2d0f Mon Sep 17 00:00:00 2001 From: LagradOst Date: Sun, 16 Jan 2022 23:53:01 +0100 Subject: [PATCH] fixed #467 --- .../lagradost/cloudstream3/movieproviders/SflixProvider.kt | 1 - .../com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt | 5 +++-- app/src/main/res/layout/player_custom_layout.xml | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/SflixProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/SflixProvider.kt index d90b09c2..5e3eeaee 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/SflixProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/SflixProvider.kt @@ -229,7 +229,6 @@ class SflixProvider(providerUrl: String, providerName: String) : MainAPI() { } ?: tryParseJson>(data))?.distinct() urls?.pmap { url -> - println("FETCHING URL $url") val sources = app.get( url, interceptor = WebViewResolver( diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt index 1784123d..8534f80e 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt @@ -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() { diff --git a/app/src/main/res/layout/player_custom_layout.xml b/app/src/main/res/layout/player_custom_layout.xml index 70d843d1..770b8b1e 100644 --- a/app/src/main/res/layout/player_custom_layout.xml +++ b/app/src/main/res/layout/player_custom_layout.xml @@ -19,7 +19,6 @@ android:layout_height="match_parent" android:background="@color/black_overlay" /> -