File tree 1 file changed +4
-0
lines changed
compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/scene
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,8 @@ internal class ComposeHostingViewController(
259
259
mediator?.sceneWillDisappear()
260
260
layers?.viewWillDisappear()
261
261
configuration.delegate.viewWillDisappear(animated)
262
+
263
+ backGestureDispatcher.onDidMoveToWindow(null , rootView)
262
264
}
263
265
264
266
@Suppress(" DEPRECATION" )
@@ -320,6 +322,7 @@ internal class ComposeHostingViewController(
320
322
}
321
323
}
322
324
325
+ backGestureDispatcher.onDidMoveToWindow(view.window, rootView)
323
326
onAccessibilityChanged()
324
327
}
325
328
@@ -335,6 +338,7 @@ internal class ComposeHostingViewController(
335
338
)
336
339
337
340
rootView.updateMetalView(metalView = null )
341
+ backGestureDispatcher.onDidMoveToWindow(null , rootView)
338
342
339
343
mediator?.dispose()
340
344
mediator = null
You can’t perform that action at this time.
0 commit comments