mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 12:00:03 +03:00
Merge pull request #2558 from aqulu/fix/bottomsheet-viewbinding
Release VectorBaseBottomSheetDialogFragment bindings when view destroyed
This commit is contained in:
commit
4a5dbde8d3
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ abstract class VectorBaseBottomSheetDialogFragment<VB: ViewBinding> : BottomShee
|
|||
@CallSuper
|
||||
override fun onDestroyView() {
|
||||
uiDisposables.clear()
|
||||
_binding = null
|
||||
super.onDestroyView()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue