mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +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);
|
||||
return null;
|
||||
}
|
||||
const enableTranslation = store.get('enableNeteaseTranslation', true) as boolean;
|
||||
const enableTranslation = store.get('enableNeteaseTranslation', false) as boolean;
|
||||
const originalLrc = result.data.lrc?.lyric;
|
||||
if (!enableTranslation) {
|
||||
return originalLrc || null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue