mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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()
|
||||
|
||||
urls?.pmap { url ->
|
||||
println("FETCHING URL $url")
|
||||
val sources = app.get(
|
||||
url,
|
||||
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*/
|
||||
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() {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue