mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Fix Discord status with no Artists (#359)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user