forked from recloudstream/cloudstream
fixed #467
This commit is contained in:
parent
1e0d2c07ce
commit
030f0e98c3
3 changed files with 3 additions and 4 deletions
|
@ -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(
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue