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