Commit d0843097 authored by Maxime Callet's avatar Maxime Callet
Browse files

ScreenShare: update surface behavior

Change-Id: I3ddba547bac581c712e9c9621d8a7dd7679b9e1e
parent c8be194c
......@@ -1165,7 +1165,7 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView,
if (isChoosePluginMode) {
binding!!.pluginPreviewSurface.visibility = View.GONE
} else {
binding!!.previewSurface.visibility = View.GONE
binding!!.previewContainer.visibility = View.GONE
}
} else {
Toast.makeText(requireContext(), "Can't start screen sharing", Toast.LENGTH_SHORT)
......@@ -1174,7 +1174,7 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView,
}
private fun stopShareScreen() {
binding?.previewSurface?.visibility = View.VISIBLE
binding?.previewContainer?.visibility = View.VISIBLE
presenter.stopScreenShare()
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment