mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
Android: Voice typing: Disable "Download update" button while downloading an updated model (#12015)
This commit is contained in:
@@ -186,7 +186,7 @@ const SpeechToTextComponent: React.FC<Props> = props => {
|
||||
const reDownloadButton = <Button
|
||||
// Usually, stoppingSession is true because the re-download button has
|
||||
// just been pressed.
|
||||
disabled={stoppingSession}
|
||||
disabled={stoppingSession || recorderState === RecorderState.Downloading}
|
||||
onPress={onRequestRedownload}
|
||||
>
|
||||
{modelIsOutdated ? _('Download updated model') : _('Re-download model')}
|
||||
|
||||
Reference in New Issue
Block a user