From 3a8bcc92774d83f6ece0577f919f527cd920761b Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 31 Jul 2025 15:22:08 +0200 Subject: [PATCH] fix unnecessary typecast --- src/view/com/composer/photos/Gallery.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/view/com/composer/photos/Gallery.tsx b/src/view/com/composer/photos/Gallery.tsx index a66d65d97a..19e1288d40 100644 --- a/src/view/com/composer/photos/Gallery.tsx +++ b/src/view/com/composer/photos/Gallery.tsx @@ -1,6 +1,5 @@ import React from 'react' import { - type ImageStyle, Keyboard, type LayoutChangeEvent, StyleSheet, @@ -125,7 +124,7 @@ type GalleryItemProps = { image: ComposerImage altTextControlStyle?: ViewStyle imageControlsStyle?: ViewStyle - imageStyle?: ImageStyle + imageStyle?: ViewStyle onChange: (next: ComposerImage) => void onRemove: () => void } @@ -161,7 +160,7 @@ const GalleryItem = ({ return (