Skip to content

Commit b94719f

Browse files
committed
feat: use JS reload from ReactDelegate
1 parent 87ebb55 commit b94719f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class ReactNativeFragment : ReactFragment(), PermissionAwareActivity {
118118
.didDoubleTapR(keyCode, it)
119119
}
120120
if (didDoubleTapR == true) {
121-
ReactNativeBrownfield.shared.reactNativeHost.reactInstanceManager.devSupportManager.handleReloadJS()
121+
reactDelegate.reload()
122122
handled = true
123123
}
124124
}

0 commit comments

Comments
 (0)