From 1fd32bbab5cadb9930b68d9b9dfd9fd8817f6fdd Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Tue, 7 May 2024 17:56:08 +0800 Subject: [PATCH] MM-58137 Fix crash by importing the correct Animated component (#7937) --- .../post/body/content/image_preview/image_preview.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/post_list/post/body/content/image_preview/image_preview.tsx b/app/components/post_list/post/body/content/image_preview/image_preview.tsx index 3adc4cd80..67d60fa27 100644 --- a/app/components/post_list/post/body/content/image_preview/image_preview.tsx +++ b/app/components/post_list/post/body/content/image_preview/image_preview.tsx @@ -2,7 +2,8 @@ // See LICENSE.txt for license information. import React, {useCallback, useEffect, useRef, useState} from 'react'; -import {Animated, StyleSheet, TouchableWithoutFeedback, View} from 'react-native'; +import {StyleSheet, TouchableWithoutFeedback, View} from 'react-native'; +import Animated from 'react-native-reanimated'; import {getRedirectLocation} from '@actions/remote/general'; import FileIcon from '@components/files/file_icon';