feat: Make "Clear" button "Refresh" when there are no lyrics found. (#1920)

Ref: effvli/feishin#1919 - tl;dr: Button actually reloads/refreshes
lyrics info from the server too, it makes it, well, clearer what it does
in that case - allows to reread lyrics from server without clearing whole cache.
This commit is contained in:
Andrzej Voss
2026-04-07 01:59:01 +02:00
committed by GitHub
parent ff96a5f121
commit d67c185c93
@@ -131,7 +131,9 @@ export const LyricsActions = ({
uppercase uppercase
variant="subtle" variant="subtle"
> >
{t('common.clear', { postProcess: 'sentenceCase' })} {hasLyrics
? t('common.clear', { postProcess: 'sentenceCase' })
: t('common.refresh', { postProcess: 'sentenceCase' })}
</Button> </Button>
) : null} ) : null}
</Group> </Group>