From 2a601ef020a37ae3e0e02c833e5b873c74181f6e Mon Sep 17 00:00:00 2001 From: parneet-guraya Date: Wed, 11 Oct 2023 20:15:30 +0530 Subject: [PATCH] remove next and previous button Signed-off-by: parneet-guraya --- .../com/owncloud/android/ui/preview/PreviewVideoActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt b/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt index 094bed00b4a..042dc727486 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt @@ -133,6 +133,8 @@ class PreviewVideoActivity : FileActivity(), Player.Listener, OnPrepareVideoPlay title = file.fileName } playerView = binding.videoPlayer + playerView.setShowPreviousButton(false) + playerView.setShowNextButton(false) initWindowInsetsController() playerView.setFullscreenButtonClickListener { isFullScreen ->