mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(uidesigner): do not try to dismiss ViewInfoSheet when workspace fragment is being destroyed (fixes #1186)
This commit is contained in:
+1
-6
@@ -147,13 +147,8 @@ class DesignerWorkspaceFragment : BaseFragment() {
|
||||
this.binding = null
|
||||
this.hierarchyHandler.release()
|
||||
this.attrHandler.release()
|
||||
|
||||
endParse()
|
||||
|
||||
if (!childFragmentManager.isDestroyed) {
|
||||
val viewInfo = childFragmentManager.findFragmentByTag(ViewInfoSheet.TAG) as? ViewInfoSheet?
|
||||
viewInfo?.dismiss()
|
||||
}
|
||||
endParse()
|
||||
}
|
||||
|
||||
internal fun setupView(view: IView) {
|
||||
|
||||
Reference in New Issue
Block a user