mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Changed "contex" typo to "context" (#450)
This commit is contained in:
parent
f0de94351f
commit
2392f8f356
@ -30,7 +30,7 @@ devices.Devices.ForEach(device => Console.WriteLine(device.Name));
|
||||
|
||||
```csharp
|
||||
PlaybackContext context = _spotify.GetPlayback();
|
||||
if(contex.Item != null)
|
||||
if(context.Item != null)
|
||||
Console.WriteLine(context.Item.Name)); //Print the current song
|
||||
```
|
||||
|
||||
@ -51,7 +51,7 @@ This is a simpler (less data) version of `GetPlayback`
|
||||
|
||||
```csharp
|
||||
PlaybackContext context = _spotify.GetPlayingTrack();
|
||||
if(contex.Item != null)
|
||||
if(context.Item != null)
|
||||
Console.WriteLine(context.Item.Name)); //Print the current song
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user