diff --git a/src/components/Loader.tsx b/src/components/Loader.tsx index 104cfc724f..e0b3be6373 100644 --- a/src/components/Loader.tsx +++ b/src/components/Loader.tsx @@ -21,8 +21,9 @@ export function Loader(props: Props) { })) React.useEffect(() => { - rotation.set( - withRepeat(withTiming(360, {duration: 500, easing: Easing.linear}), -1), + rotation.value = withRepeat( + withTiming(360, {duration: 500, easing: Easing.linear}), + -1, ) }, [rotation]) diff --git a/src/screens/Messages/components/MessagesList.tsx b/src/screens/Messages/components/MessagesList.tsx index f330d5f11d..3b712b4dfa 100644 --- a/src/screens/Messages/components/MessagesList.tsx +++ b/src/screens/Messages/components/MessagesList.tsx @@ -217,7 +217,7 @@ export function MessagesList({ const onScroll = React.useCallback( (e: ReanimatedScrollEvent) => { 'worklet' - layoutHeight.value.set(e.layoutMeasurement.height) + layoutHeight.set(e.layoutMeasurement.height) const bottomOffset = e.contentOffset.y + e.layoutMeasurement.height // Most apps have a little bit of space the user can scroll past while still automatically scrolling ot the bottom diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index a3c2019380..13c9a3521b 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -1288,9 +1288,9 @@ function useScrollTracker({ }) => { 'worklet' if (typeof newContentHeight === 'number') - contentHeight.value.set(Math.floor(newContentHeight)) + contentHeight.set(Math.floor(newContentHeight)) if (typeof newContentOffset === 'number') - contentOffset.value.set(Math.floor(newContentOffset)) + contentOffset.set(Math.floor(newContentOffset)) if (typeof newScrollViewHeight === 'number') scrollViewHeight.set(Math.floor(newScrollViewHeight)) },