Raise voice note time limit to one hour

This commit is contained in:
Fedor Indutny 2022-04-06 14:39:54 -07:00 committed by GitHub
parent 33b8b59c55
commit 5fdda012cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

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