type fixes

This commit is contained in:
tapframe 2026-01-22 12:30:04 +05:30
parent fefb0cda01
commit 181de15b93
4 changed files with 8 additions and 9 deletions

View file

@ -207,7 +207,7 @@ const CatalogSection = ({ catalog }: CatalogSectionProps) => {
horizontal
showsHorizontalScrollIndicator={false}
scrollEventThrottle={16}
decelerationRate="fast"
decelerationRate="normal"
scrollEnabled={true}
nestedScrollEnabled={true}
contentContainerStyle={StyleSheet.flatten([

View file

@ -157,7 +157,7 @@ const AndroidVideoPlayer: React.FC = () => {
// 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)) {
(previousVideo.uri !== currentVideo.uri || previousVideo.episodeId !== currentVideo.episodeId)) {
setSubtitleOffsetSec(0);
}
@ -874,7 +874,6 @@ const AndroidVideoPlayer: React.FC = () => {
brightness={brightness}
controlsTimeout={controlsTimeout}
resizeMode={playerState.resizeMode}
resizeMode={playerState.resizeMode}
/>
<PlayerControls

View file

@ -7,7 +7,7 @@ import { Dimensions, Platform } from 'react-native';
// Use only resize modes supported by all player backends
// (not all players support 'stretch' or 'none')
export type PlayerResizeMode = 'contain' | 'cover';
export type PlayerResizeMode = 'contain' | 'cover' | 'stretch';
export const usePlayerState = () => {
// Playback State

View file

@ -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;