mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix broken build due to a land time race
Summary: With D55574528 and D55623682 having landed concurrently, and the latter enabling warnings-as-errors for Kotlin files vs the former having one such warning, this caused a build breakage. This diff fixes it. Reviewed By: andrewdacenko Differential Revision: D55636176 fbshipit-source-id: 781b8cf40a4e9aa8a3da3005d26dca975f146c09
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2f1643dc0c
commit
c32a053722
+1
-1
@@ -64,7 +64,7 @@ internal class LogBoxDialogSurfaceDelegate(private val devSupportManager: DevSup
|
||||
if (!isShowing) {
|
||||
return
|
||||
}
|
||||
(reactRootView?.parent as ViewGroup)?.removeView(reactRootView)
|
||||
(reactRootView?.parent as ViewGroup?)?.removeView(reactRootView)
|
||||
dialog?.dismiss()
|
||||
dialog = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user