video isRecord change

merge-requests/760/head
mosazaid 4 years ago
parent eb62fdfe21
commit 783c74108b

@ -121,8 +121,8 @@
android:id="@+id/record_icon"
android:layout_width="@dimen/local_back_icon_size"
android:layout_height="@dimen/local_back_icon_size"
android:layout_gravity="center"
android:scaleType="centerCrop"
android:layout_margin="5dp"
android:src="@drawable/ic_record" />
</FrameLayout>

@ -309,7 +309,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen> with Single
// .openVideo(
// model.startCallRes,
// patient,
// false, callConnected, // model.startCallRes.isRecording
// model.startCallRes != null ? model.startCallRes.isRecording : true, callConnected,
// callDisconnected);
// });
if (isCallFinished) {
@ -349,7 +349,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen> with Single
.openVideo(
model.startCallRes,
patient,
/*model.startCallRes != null ? model.startCallRes.isRecording : */ true
model.startCallRes != null ? model.startCallRes.isRecording : true
, callConnected,
callDisconnected);
});

Loading…
Cancel
Save