mirror of
https://github.com/Royce551/FRESHMusicPlayer-WinForms.git
synced 2025-01-23 03:11:52 -05:00
Whoopsies
This commit is contained in:
parent
a3780d017d
commit
660ad61a66
1 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ namespace FRESHMusicPlayer
|
|||
}
|
||||
public static void UpdateRPC(string Activity, string Song)
|
||||
{
|
||||
client.SetPresence(new RichPresence()
|
||||
client?.SetPresence(new RichPresence()
|
||||
{
|
||||
Details = Song,
|
||||
State = Activity,
|
||||
|
@ -260,6 +260,6 @@ namespace FRESHMusicPlayer
|
|||
);
|
||||
|
||||
}
|
||||
public static void DisposeRPC() => client.Dispose();
|
||||
public static void DisposeRPC() => client?.Dispose();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue