Skip to content

Commit 1c9ec49

Browse files
committed
added for auto play image
1 parent 36d08d6 commit 1c9ec49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/containers/ImageViewer/ImageViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const styles = StyleSheet.create({
3030
});
3131

3232
export const ImageViewer = ({ uri = '', width, height, ...props }: ImageViewerProps): React.ReactElement => {
33-
const [autoplayGifs] = useUserPreferences<boolean>(AUTOPLAY_GIFS_PREFERENCES_KEY);
33+
const [autoplayGifs] = useUserPreferences<boolean>(AUTOPLAY_GIFS_PREFERENCES_KEY, true);
3434
const [isPlaying, setIsPlaying] = useState<boolean>(!!autoplayGifs);
3535
const expoImageRef = useRef<Image>(null);
3636

0 commit comments

Comments
 (0)