mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Using ViewModel to handle clearing of audio controller
This commit is contained in:
parent
018772ca9a
commit
81cba3d275
1 changed files with 2 additions and 3 deletions
|
@ -965,8 +965,7 @@ class TimelineFragment @Inject constructor(
|
|||
}
|
||||
|
||||
override fun onDestroyView() {
|
||||
audioMessagePlaybackTracker.makeAllPlaybacksIdle()
|
||||
audioMessagePlaybackTracker.clear()
|
||||
messageComposerViewModel.handle(MessageComposerAction.EndAllVoiceActions())
|
||||
lazyLoadedViews.unBind()
|
||||
timelineEventController.callback = null
|
||||
timelineEventController.removeModelBuildListener(modelBuildListener)
|
||||
|
|
Loading…
Reference in a new issue