mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Updated constructor to use a default parameter instead of going the overload route.
This commit is contained in:
parent
510c33489d
commit
bd5d77528b
@ -11,17 +11,13 @@ namespace SpotifyAPI.SpotifyLocalAPI
|
||||
SpotifyMusicHandler mh;
|
||||
RemoteHandler rh;
|
||||
SpotifyEventHandler eh;
|
||||
static bool betaMode = false;
|
||||
static bool betaMode;
|
||||
|
||||
public SpotifyLocalAPIClass()
|
||||
public SpotifyLocalAPIClass(bool betaMode = false)
|
||||
{
|
||||
rh = RemoteHandler.GetInstance();
|
||||
mh = new SpotifyMusicHandler();
|
||||
eh = new SpotifyEventHandler(this, mh);
|
||||
}
|
||||
|
||||
public SpotifyLocalAPIClass(bool betaMode) : this()
|
||||
{
|
||||
SpotifyLocalAPIClass.betaMode = betaMode;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user