diff --git a/src/components/home/CatalogSection.tsx b/src/components/home/CatalogSection.tsx index 4b0eed6a..e12250bb 100644 --- a/src/components/home/CatalogSection.tsx +++ b/src/components/home/CatalogSection.tsx @@ -207,7 +207,7 @@ const CatalogSection = ({ catalog }: CatalogSectionProps) => { horizontal showsHorizontalScrollIndicator={false} scrollEventThrottle={16} - decelerationRate="fast" + decelerationRate="normal" scrollEnabled={true} nestedScrollEnabled={true} contentContainerStyle={StyleSheet.flatten([ diff --git a/src/components/player/AndroidVideoPlayer.tsx b/src/components/player/AndroidVideoPlayer.tsx index 63c81025..b53e8682 100644 --- a/src/components/player/AndroidVideoPlayer.tsx +++ b/src/components/player/AndroidVideoPlayer.tsx @@ -149,18 +149,18 @@ const AndroidVideoPlayer: React.FC = () => { // Track previous video session to reset subtitle offset only when video actually changes const previousVideoRef = useRef<{ uri?: string; episodeId?: string }>({}); - + // Reset subtitle offset when starting a new video session useEffect(() => { const currentVideo = { uri, episodeId }; const previousVideo = previousVideoRef.current; - + // Only reset if this is actually a new video (uri or episodeId changed) - if (previousVideo.uri !== undefined && - (previousVideo.uri !== currentVideo.uri || previousVideo.episodeId !== currentVideo.episodeId)) { + if (previousVideo.uri !== undefined && + (previousVideo.uri !== currentVideo.uri || previousVideo.episodeId !== currentVideo.episodeId)) { setSubtitleOffsetSec(0); } - + // Update the ref for next comparison previousVideoRef.current = currentVideo; // eslint-disable-next-line react-hooks/exhaustive-deps @@ -874,7 +874,6 @@ const AndroidVideoPlayer: React.FC = () => { brightness={brightness} controlsTimeout={controlsTimeout} resizeMode={playerState.resizeMode} - resizeMode={playerState.resizeMode} /> { // Playback State diff --git a/src/utils/version.ts b/src/utils/version.ts index 232d4534..d681c860 100644 --- a/src/utils/version.ts +++ b/src/utils/version.ts @@ -1,7 +1,7 @@ // Single source of truth for the app version displayed in Settings // Update this when bumping app version -export const APP_VERSION = '1.3.5'; +export const APP_VERSION = '1.3.6'; export function getDisplayedAppVersion(): string { return APP_VERSION;