mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Remove callback when RoomProfileFragment is destroyed
This commit is contained in:
parent
2f06095273
commit
2c2349aa63
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ class RoomProfileFragment :
|
|||
}
|
||||
|
||||
override fun onDestroyView() {
|
||||
roomProfileController.callback = null
|
||||
views.matrixProfileAppBarLayout.removeOnOffsetChangedListener(appBarStateChangeListener)
|
||||
views.matrixProfileRecyclerView.cleanup()
|
||||
appBarStateChangeListener = null
|
||||
|
|
Loading…
Add table
Reference in a new issue