Raise voice note time limit to one hour
This commit is contained in:
parent
33b8b59c55
commit
5fdda012cd
3 changed files with 3 additions and 3 deletions
|
@ -122,7 +122,7 @@ export const AudioCapture = ({
|
|||
}
|
||||
setDurationText(`${minutes}:${seconds}`);
|
||||
|
||||
if (duration >= moment.duration(5, 'minutes')) {
|
||||
if (duration >= moment.duration(1, 'hours')) {
|
||||
errorRecording(ErrorDialogAudioRecorderType.Timeout);
|
||||
}
|
||||
}, 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue