forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1diff --git a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt
2index 8b65716..27c97bf 100644
3--- a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt
4+++ b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt
5@@ -313,8 +313,9 @@ public open class JavaTimerManager(
6 // We also capture the idleCallbackRunnable to tentatively fix:
7 // https://github.com/facebook/react-native/issues/44842
8 currentIdleCallbackRunnable?.cancel()
9- currentIdleCallbackRunnable = IdleCallbackRunnable(frameTimeNanos)
10- reactApplicationContext.runOnJSQueueThread(currentIdleCallbackRunnable)
11+ val idleCallbackRunnable = IdleCallbackRunnable(frameTimeNanos)
12+ currentIdleCallbackRunnable = idleCallbackRunnable
13+ reactApplicationContext.runOnJSQueueThread(idleCallbackRunnable)
14 reactChoreographer.postFrameCallback(ReactChoreographer.CallbackType.IDLE_EVENT, this)
15 }
16 }