Skip to content

Commit

Permalink
update to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
brim-borium committed Feb 11, 2020
1 parent 46fd3ac commit 92ef2c6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.3.2

* fixes compatibility with spotify-auth dependency above version 1.2.0 (thanks [itsMatoosh](https://github.com/itsMatoosh))
* spotify introduced some breaking changes: Rename classes from Authentication<code>ClassName</code> to Authorization<code>ClassName</code>

## 0.3.1

* fixes wrong links and incorrect docs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# spotify_sdk

[![licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://github.com/IamTobi/spotify_sdk/blob/master/LICENSE)
[![pub package](https://img.shields.io/badge/pub-0.3.1-orange)](https://pub.dev/packages/spotify_sdk)
[![pub package](https://img.shields.io/badge/pub-0.3.2-orange)](https://pub.dev/packages/spotify_sdk)

## Description

Expand Down
26 changes: 13 additions & 13 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ class _HomeState extends State<Home> {
Divider(),
Text("Player State", style: TextStyle(fontSize: 16)),
_connected
? PlayerStateWidget()
: Center(
child: Text("Not connected"),
),
? PlayerStateWidget()
: Center(
child: Text("Not connected"),
),
Divider(),
Text("Player Context", style: TextStyle(fontSize: 16)),
_connected
? PlayerContextWidget()
: Center(
child: Text("Not connected"),
),
? PlayerContextWidget()
: Center(
child: Text("Not connected"),
),
Divider(),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
Expand Down Expand Up @@ -150,10 +150,10 @@ class _HomeState extends State<Home> {
],
),
_loading
? Container(
color: Colors.black12,
child: Center(child: CircularProgressIndicator()))
: SizedBox(),
? Container(
color: Colors.black12,
child: Center(child: CircularProgressIndicator()))
: SizedBox(),
],
);
}
Expand Down Expand Up @@ -397,6 +397,6 @@ class _HomeState extends State<Home> {

void setStatus(String code, {String message = ""}) {
var text = message.isEmpty ? "" : " : $message";
_logger.d("$code + $text");
_logger.d("$code$text");
}
}
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: spotify_sdk
description: A flutter plugin that let's you communicate with the flutter sdk
version: 0.3.1
description: A flutter plugin that let's you communicate with the spotify sdk and auth lib
version: 0.3.2
homepage: https://github.com/brim-borium/spotify_sdk
issue_tracker: https://github.com/brim-borium/spotify_sdk/issues

Expand Down

0 comments on commit 92ef2c6

Please sign in to comment.