fix: linting (#1184)

This commit is contained in:
Fredrik Burmester
2025-11-14 19:34:59 +01:00
committed by GitHub
parent 30dc3980e3
commit 2be78a232c
25 changed files with 114 additions and 70 deletions

View File

@@ -271,7 +271,6 @@ export const EpisodeList: React.FC<Props> = ({ item, close, goToItem }) => {
</View>
)}
keyExtractor={(e: BaseItemDto) => e.Id ?? ""}
estimatedItemSize={200}
showsHorizontalScrollIndicator={false}
/>
)}

View File

@@ -89,10 +89,10 @@ const SliderScrubber: React.FC<SliderScrubberProps> = ({
<Image
cachePolicy={"memory-disk"}
style={{
width: 150 * trickplayInfo?.data.TileWidth!,
width: 150 * trickplayInfo.data.TileWidth,
height:
(150 / trickplayInfo.aspectRatio!) *
trickplayInfo?.data.TileHeight!,
(150 / trickplayInfo.aspectRatio) *
trickplayInfo.data.TileHeight,
transform: [
{ translateX: -x * tileWidth },
{ translateY: -y * tileHeight },

View File

@@ -63,10 +63,10 @@ export const TrickplayBubble: FC<TrickplayBubbleProps> = ({
<Image
cachePolicy={"memory-disk"}
style={{
width: tileWidth * trickplayInfo?.data.TileWidth!,
width: tileWidth * (trickplayInfo.data.TileWidth ?? 1),
height:
(tileWidth / trickplayInfo.aspectRatio!) *
trickplayInfo?.data.TileHeight!,
(tileWidth / (trickplayInfo.aspectRatio ?? 1)) *
(trickplayInfo.data.TileHeight ?? 1),
transform: [
{ translateX: -x * tileWidth },
{ translateY: -y * tileHeight },