mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Code review fixes.
This commit is contained in:
parent
166be43f23
commit
b358863a1e
2 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,7 @@ class VectorCallViewModel @AssistedInject constructor(
|
|||
override fun onCallEnded(callId: String) {
|
||||
withState { state ->
|
||||
if (state.otherKnownCallInfo?.callId == callId) {
|
||||
setState { copy(otherKnownCallInfo = null) }
|
||||
setState { copy(otherKnownCallInfo = null, isSharingScreen = false) }
|
||||
}
|
||||
}
|
||||
_viewEvents.post(VectorCallViewEvents.StopScreenSharingService)
|
||||
|
|
|
@ -58,5 +58,6 @@ class ScreenCaptureServiceConnection @Inject constructor(
|
|||
override fun onServiceDisconnected(className: ComponentName) {
|
||||
isBound = false
|
||||
screenCaptureService = null
|
||||
callback = null
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue