1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Android: Fixes #13113: Fix compatibility with 16-KB-page-size devices: Remove Vosk (#13189)

This commit is contained in:
Henry Heino
2025-09-13 05:52:12 -07:00
committed by GitHub
parent 23b07094b7
commit ac06c6750d
14 changed files with 13 additions and 553 deletions

View File

@@ -1933,20 +1933,21 @@ const builtInMetadata = (Setting: typeof SettingType) => {
section: 'note',
},
// Deprecated and currently unused. For now, the mobile app only supports the Whisper voice typing provider.
'voiceTyping.preferredProvider': {
value: 'whisper-tiny',
type: SettingItemType.String,
public: true,
public: false,
appTypes: [AppType.Mobile],
label: () => _('Preferred voice typing provider'),
label: () => 'Preferred voice typing provider',
isEnum: true,
show: showVoiceTypingSettings,
section: 'note',
options: () => {
return {
'vosk': _('Vosk'),
'whisper-tiny': _('Whisper'),
'vosk': 'Vosk', // No longer supported
'whisper-tiny': 'Whisper',
};
},
},
@@ -1958,7 +1959,7 @@ const builtInMetadata = (Setting: typeof SettingType) => {
appTypes: [AppType.Mobile],
label: () => _('Voice typing: Glossary'),
description: () => _('A comma-separated list of words. May be used for uncommon words, to help voice typing spell them correctly.'),
show: (settings) => showVoiceTypingSettings() && settings['voiceTyping.preferredProvider'].startsWith('whisper'),
show: () => showVoiceTypingSettings(),
section: 'note',
},