mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Update PlayerFragment.kt
This commit is contained in:
parent
b0a4ce167e
commit
e820441ae8
@ -287,7 +287,7 @@ class PlayerFragment : Fragment() {
|
||||
|
||||
// switching between original aspect ratio (black bars) and zoomed to fill device screen
|
||||
view.findViewById<ImageButton>(R.id.aspect_ratio_button).setOnClickListener {
|
||||
if(isZoomed) {
|
||||
if (isZoomed) {
|
||||
exoPlayerView.resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT
|
||||
isZoomed = false
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user