diff --git a/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/PlaySurface.kt b/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/PlaySurface.kt index 5eb5f5cf..0ff94290 100644 --- a/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/PlaySurface.kt +++ b/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/PlaySurface.kt @@ -23,7 +23,6 @@ package net.newpipe.newplayer.ui.videoplayer import android.app.Activity import android.view.SurfaceView import androidx.annotation.OptIn -import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.aspectRatio import androidx.compose.foundation.layout.fillMaxHeight @@ -31,7 +30,6 @@ import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.wrapContentHeight import androidx.compose.foundation.layout.wrapContentWidth -import androidx.compose.material3.Surface import androidx.compose.runtime.Composable import androidx.compose.runtime.DisposableEffect import androidx.compose.runtime.getValue @@ -40,7 +38,6 @@ import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier -import androidx.compose.ui.graphics.Color import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.viewinterop.AndroidView import androidx.lifecycle.Lifecycle diff --git a/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/controller/Menu.kt b/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/controller/Menu.kt index cb742930..76793077 100644 --- a/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/controller/Menu.kt +++ b/new-player/src/main/java/net/newpipe/newplayer/ui/videoplayer/controller/Menu.kt @@ -151,7 +151,6 @@ internal fun VideoPlayerMenu( R.string.menu_item_stretch_video ) { viewModel.cycleContentFitMode() - showNotYetImplementedToast(context) } ContentScale.FIT_INSIDE -> CustomMenuItem( @@ -159,7 +158,6 @@ internal fun VideoPlayerMenu( R.string.menu_item_fit_screen ) { viewModel.cycleContentFitMode() - showNotYetImplementedToast(context) } ContentScale.CROP -> CustomMenuItem( @@ -167,7 +165,6 @@ internal fun VideoPlayerMenu( R.string.menu_item_crop_video ) { viewModel.cycleContentFitMode() - showNotYetImplementedToast(context) } }