Skip to content

Commit

Permalink
remove back-interceptor to not break expected behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Feb 12, 2025
1 parent f1eedb6 commit ade0cd1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/src/main/java/org/jellyfin/mobile/player/ui/PlayerFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit ade0cd1

Please sign in to comment.