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); });