mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-10 18:33:51 +02:00
Fix translationApi toggle
This commit is contained in:
@@ -321,7 +321,10 @@ export const useAdvancedSettingsStore = defineStore('AdvancedSettings', () => {
|
||||
}
|
||||
async function setTranslationApi() {
|
||||
translationApi.value = !translationApi.value;
|
||||
await configRepository.setBool('VRCX_translationAPI', youTubeApi.value);
|
||||
await configRepository.setBool(
|
||||
'VRCX_translationAPI',
|
||||
translationApi.value
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param {string} value
|
||||
|
||||
Reference in New Issue
Block a user