Changes unTrack to untrack
This commit is contained in:
parent
36564d3657
commit
00bced9500
@ -1244,7 +1244,7 @@ class TimelineFragment @Inject constructor(
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
notificationDrawerManager.setCurrentRoom(null)
|
||||
voiceMessagePlaybackTracker.unTrack(VoiceMessagePlaybackTracker.RECORDING_ID)
|
||||
voiceMessagePlaybackTracker.untrack(VoiceMessagePlaybackTracker.RECORDING_ID)
|
||||
|
||||
if (withState(messageComposerViewModel) { it.isVoiceRecording } && requireActivity().isChangingConfigurations) {
|
||||
// we're rotating, maintain any active recordings
|
||||
|
@ -46,7 +46,7 @@ class VoiceMessagePlaybackTracker @Inject constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
fun unTrack(id: String) {
|
||||
fun untrack(id: String) {
|
||||
listeners.remove(id)
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@ abstract class MessageVoiceItem : AbsMessageItem<MessageVoiceItem.Holder>() {
|
||||
super.unbind(holder)
|
||||
contentUploadStateTrackerBinder.unbind(attributes.informationData.eventId)
|
||||
contentDownloadStateTrackerBinder.unbind(mxcUrl)
|
||||
voiceMessagePlaybackTracker.unTrack(attributes.informationData.eventId)
|
||||
voiceMessagePlaybackTracker.untrack(attributes.informationData.eventId)
|
||||
}
|
||||
|
||||
override fun getViewStubId() = STUB_ID
|
||||
|
Loading…
x
Reference in New Issue
Block a user