mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
chore: simplify and remove unused code
This commit is contained in:
parent
c398936355
commit
d28683e2e0
@ -359,7 +359,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
||||
}
|
||||
}
|
||||
|
||||
binding.playerMotionLayout.progress = 1.toFloat()
|
||||
binding.playerMotionLayout.progress = 1F
|
||||
binding.playerMotionLayout.transitionToStart()
|
||||
|
||||
val activity = requireActivity()
|
||||
|
@ -182,7 +182,6 @@ class OnlinePlayerView(
|
||||
}
|
||||
|
||||
override fun minimizeOrExitPlayer() {
|
||||
(context as? AppCompatActivity)?.onBackPressedDispatcher?.onBackPressed()
|
||||
playerViewModel?.isFullscreen?.value = false
|
||||
playerOptions?.exitFullscreen()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user