Fix "Tried to synchronously call a Remote Function" crash (#11517)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,7 @@ export const ProgressGuideToast = forwardRef<
|
||||
|
||||
// animate the opacity then set isOpen to false when done
|
||||
const setIsntOpen = () => setIsOpen(false)
|
||||
opacity.set(() =>
|
||||
opacity.set(
|
||||
withTiming(
|
||||
0,
|
||||
{
|
||||
@@ -81,7 +81,7 @@ export const ProgressGuideToast = forwardRef<
|
||||
// animate the vertical translation, the opacity, and the checkmark
|
||||
const playCheckmark = () => animatedCheckRef.current?.play()
|
||||
opacity.set(0)
|
||||
opacity.set(() =>
|
||||
opacity.set(
|
||||
withTiming(
|
||||
1,
|
||||
{
|
||||
@@ -92,7 +92,7 @@ export const ProgressGuideToast = forwardRef<
|
||||
),
|
||||
)
|
||||
translateY.set(0)
|
||||
translateY.set(() =>
|
||||
translateY.set(
|
||||
withTiming(insets.top + 10, {
|
||||
duration: 500,
|
||||
easing: Easing.out(Easing.cubic),
|
||||
|
||||
Reference in New Issue
Block a user