From a55669d16f2d5670311f929534c6d34cbfb262ef Mon Sep 17 00:00:00 2001 From: Nayif <85391825+tapframe@users.noreply.github.com> Date: Sun, 4 Jan 2026 00:11:13 +0530 Subject: [PATCH] Revert "add: current timestamp update while sliding the seek bar on Android" --- src/components/player/AndroidVideoPlayer.tsx | 2 +- src/components/player/controls/PlayerControls.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/player/AndroidVideoPlayer.tsx b/src/components/player/AndroidVideoPlayer.tsx index 00ef927..3ee2f38 100644 --- a/src/components/player/AndroidVideoPlayer.tsx +++ b/src/components/player/AndroidVideoPlayer.tsx @@ -894,7 +894,7 @@ const AndroidVideoPlayer: React.FC = () => { isSubtitleModalOpen={modals.showSubtitleModal} setShowSourcesModal={modals.setShowSourcesModal} setShowEpisodesModal={type === 'series' ? modals.setShowEpisodesModal : undefined} - onSliderValueChange={(val) => { playerState.isDragging.current = true; playerState.setCurrentTime(val); }} + onSliderValueChange={(val) => { playerState.isDragging.current = true; }} onSlidingStart={() => { playerState.isDragging.current = true; }} onSlidingComplete={(val) => { playerState.isDragging.current = false; diff --git a/src/components/player/controls/PlayerControls.tsx b/src/components/player/controls/PlayerControls.tsx index d2febc1..b558cd4 100644 --- a/src/components/player/controls/PlayerControls.tsx +++ b/src/components/player/controls/PlayerControls.tsx @@ -292,7 +292,6 @@ export const PlayerControls: React.FC = ({ height: 40, marginHorizontal: 0, }} - step={1} minimumValue={0} maximumValue={duration || 1} value={currentTime}