mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
disable netease translation by default
This commit is contained in:
parent
c1330d92b2
commit
b29d3e7f78
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ export async function getLyricsBySongId(songId: string): Promise<null | string>
|
||||||
console.error('NetEase lyrics request got an error!', e);
|
console.error('NetEase lyrics request got an error!', e);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const enableTranslation = store.get('enableNeteaseTranslation', true) as boolean;
|
const enableTranslation = store.get('enableNeteaseTranslation', false) as boolean;
|
||||||
const originalLrc = result.data.lrc?.lyric;
|
const originalLrc = result.data.lrc?.lyric;
|
||||||
if (!enableTranslation) {
|
if (!enableTranslation) {
|
||||||
return originalLrc || null;
|
return originalLrc || null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue