From 0059fdf174efa0f9ceced3fb7ec30ef1c7d4277c Mon Sep 17 00:00:00 2001 From: aqulu Date: Sun, 20 Dec 2020 13:55:32 +0900 Subject: [PATCH] Release VectorBaseBottomSheetDialogFragment bindings when view destroyed Signed-off-by: aqulu --- .../app/core/platform/VectorBaseBottomSheetDialogFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/vector/src/main/java/im/vector/app/core/platform/VectorBaseBottomSheetDialogFragment.kt b/vector/src/main/java/im/vector/app/core/platform/VectorBaseBottomSheetDialogFragment.kt index 95d42ecc30..d6d4d07500 100644 --- a/vector/src/main/java/im/vector/app/core/platform/VectorBaseBottomSheetDialogFragment.kt +++ b/vector/src/main/java/im/vector/app/core/platform/VectorBaseBottomSheetDialogFragment.kt @@ -114,6 +114,7 @@ abstract class VectorBaseBottomSheetDialogFragment : BottomShee @CallSuper override fun onDestroyView() { uiDisposables.clear() + _binding = null super.onDestroyView() }