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() } ?: tryParseJson<List<String>>(data))?.distinct()
urls?.pmap { url -> urls?.pmap { url ->
println("FETCHING URL $url")
val sources = app.get( val sources = app.get(
url, url,
interceptor = WebViewResolver( 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*/ /** Returns false if the touch is on the status bar or navigation bar*/
private fun isValidTouch(rawX: Float, rawY: Float): Boolean { private fun isValidTouch(rawX: Float, rawY: Float): Boolean {
val statusHeight = statusBarHeight ?: 0 val statusHeight = statusBarHeight ?: 0
val navHeight = navigationBarHeight ?: 0 // val navHeight = navigationBarHeight ?: 0
return rawY > statusHeight && rawX < screenWidth - navHeight // nav height is removed because screenWidth already takes into account that
return rawY > statusHeight && rawX < screenWidth //- navHeight
} }
private fun animateLayoutChanges() { private fun animateLayoutChanges() {

View file

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