mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Merge pull request #3959 from nextcloud/issue-3958-fixing-refresh-on-orientation
Follow up fix to refactoring
This commit is contained in:
commit
2b2975d77d
@ -506,6 +506,7 @@ class ChatActivity :
|
||||
.toString() + " | isPLaying: " + currentlyPlayedVoiceMessage!!.isPlayingVoiceMessage
|
||||
)
|
||||
}
|
||||
chatViewModel.handleOrientationChange()
|
||||
super.onSaveInstanceState(outState)
|
||||
}
|
||||
|
||||
|
@ -615,6 +615,10 @@ class ChatViewModel @Inject constructor(
|
||||
audioFocusRequestManager.audioFocusRequest(request, callback)
|
||||
}
|
||||
|
||||
fun handleOrientationChange() {
|
||||
_getCapabilitiesViewState.value = GetCapabilitiesStartState
|
||||
}
|
||||
|
||||
inner class GetRoomObserver : Observer<ConversationModel> {
|
||||
override fun onSubscribe(d: Disposable) {
|
||||
// unused atm
|
||||
|
Loading…
Reference in New Issue
Block a user