mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
Various lyrics improvements
- Update wording on provider fetcher - Invalidate query on reset instead of resetQuery
This commit is contained in:
@@ -111,7 +111,7 @@ export const Lyrics = () => {
|
||||
}, []);
|
||||
|
||||
const handleOnResetLyric = useCallback(() => {
|
||||
queryClient.resetQueries({
|
||||
queryClient.invalidateQueries({
|
||||
exact: true,
|
||||
queryKey: queryKeys.songs.lyrics(currentSong?.serverId, { songId: currentSong?.id }),
|
||||
});
|
||||
|
||||
@@ -48,7 +48,7 @@ export const UnsynchronizedLyrics = ({
|
||||
$gap={settings.gapUnsync}
|
||||
className="unsynchronized-lyrics"
|
||||
>
|
||||
{source && (
|
||||
{settings.showProvider && source && (
|
||||
<LyricLine
|
||||
alignment={settings.alignment}
|
||||
className="lyric-credit"
|
||||
@@ -56,7 +56,7 @@ export const UnsynchronizedLyrics = ({
|
||||
text={`Provided by ${source}`}
|
||||
/>
|
||||
)}
|
||||
{remote && (
|
||||
{settings.showMatch && remote && (
|
||||
<LyricLine
|
||||
alignment={settings.alignment}
|
||||
className="lyric-credit"
|
||||
|
||||
@@ -77,9 +77,10 @@ export const LyricSettings = () => {
|
||||
}}
|
||||
/>
|
||||
),
|
||||
description: 'List of lyric fetchers (in order of preference)',
|
||||
description:
|
||||
'Lyric fetchers should be added in order of preference. This is the order in which they will be queried.',
|
||||
isHidden: !isElectron(),
|
||||
title: 'Providers to fetch music',
|
||||
title: 'Providers to fetch lyrics',
|
||||
},
|
||||
{
|
||||
control: (
|
||||
|
||||
Reference in New Issue
Block a user