mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-09-02 21:04:10 +03:00
Remove back-interceptor to not break expected behavior (#1574)
This commit is contained in:
@@ -210,17 +210,6 @@ class PlayerFragment : Fragment(), BackPressInterceptor {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Exit fullscreen on first back-button press, otherwise exit directly
|
||||
*/
|
||||
override fun onInterceptBackPressed(): Boolean = when {
|
||||
playerFullscreenHelper.isFullscreen -> {
|
||||
toggleFullscreen()
|
||||
true
|
||||
}
|
||||
else -> super.onInterceptBackPressed()
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle current orientation and update fullscreen state and switcher icon
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user