An ATproto social media client -- with an independent Appview.
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Patch to work around a crash in RN internals (#4426)

Co-authored-by: Hailey <me@haileyok.com>

authored by

dan
Hailey
and committed by
GitHub
01b7a94a a2d1cf68

+16
+16
patches/react-native+0.74.1.patch
··· 67 67 +} 68 68 + 69 69 @end 70 + diff --git a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.java b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.java 71 + index 5f5e1ab..aac00b6 100644 72 + --- a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.java 73 + +++ b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.java 74 + @@ -99,8 +99,9 @@ public class JavaTimerManager { 75 + } 76 + 77 + // If the JS thread is busy for multiple frames we cancel any other pending runnable. 78 + - if (mCurrentIdleCallbackRunnable != null) { 79 + - mCurrentIdleCallbackRunnable.cancel(); 80 + + IdleCallbackRunnable currentRunnable = mCurrentIdleCallbackRunnable; 81 + + if (currentRunnable != null) { 82 + + currentRunnable.cancel(); 83 + } 84 + 85 + mCurrentIdleCallbackRunnable = new IdleCallbackRunnable(frameTimeNanos);