Skip to content

Commit 51456f1

Browse files
committed
🚀 Link progress with recording duration.
1 parent d9b14d2 commit 51456f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/widget/camera_picker.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,9 @@ class CameraPickerState extends State<CameraPicker> {
600600
),
601601
),
602602
),
603-
if (isRecording)
603+
if (isRecording && isRecordingRestricted)
604604
CircleProgressBar(
605-
duration: 15.seconds,
605+
duration: maximumRecordingDuration,
606606
outerRadius: outerSize.width,
607607
ringsWidth: 2.0,
608608
),

0 commit comments

Comments
 (0)