From 783c74108b81221ae6ed64642603fe64c8408892 Mon Sep 17 00:00:00 2001 From: mosazaid Date: Mon, 28 Jun 2021 10:52:28 +0300 Subject: [PATCH] video isRecord change --- android/app/src/main/res/layout/activity_video_call.xml | 2 +- .../profile/profile_screen/patient_profile_screen.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/app/src/main/res/layout/activity_video_call.xml b/android/app/src/main/res/layout/activity_video_call.xml index 8dc33094..03c55729 100644 --- a/android/app/src/main/res/layout/activity_video_call.xml +++ b/android/app/src/main/res/layout/activity_video_call.xml @@ -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" /> diff --git a/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart b/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart index d8410da1..a1da7882 100644 --- a/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart +++ b/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart @@ -309,7 +309,7 @@ class _PatientProfileScreenState extends State 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 with Single .openVideo( model.startCallRes, patient, - /*model.startCallRes != null ? model.startCallRes.isRecording : */ true + model.startCallRes != null ? model.startCallRes.isRecording : true , callConnected, callDisconnected); });