mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 19:01:40 +00:00
Fix Discord status with no Artists (#359)
This commit is contained in:
parent
11af31c539
commit
f24cf5a928
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ export const useDiscordRpc = () => {
|
||||||
largeImageText: currentSong?.album || 'Unknown album',
|
largeImageText: currentSong?.album || 'Unknown album',
|
||||||
smallImageKey: undefined,
|
smallImageKey: undefined,
|
||||||
smallImageText: currentStatus,
|
smallImageText: currentStatus,
|
||||||
state: artists && `By ${artists}`,
|
state: artists && `By ${artists}` || "Unknown artist",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (currentStatus === PlayerStatus.PLAYING) {
|
if (currentStatus === PlayerStatus.PLAYING) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue