Skip to content
Snippets Groups Projects
Commit d0843097 authored by Maxime Callet's avatar Maxime Callet
Browse files

ScreenShare: update surface behavior

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