Minor fixes, so I can leave for another 2 months
This commit is contained in:
parent
676d5d45cc
commit
9f850a6f30
6 changed files with 100 additions and 9 deletions
|
@ -326,6 +326,18 @@ class _SpotifyImporterV2State extends State<SpotifyImporterV2> {
|
|||
void initState() {
|
||||
_clientId = settings.spotifyClientId;
|
||||
_clientSecret = settings.spotifyClientSecret;
|
||||
|
||||
//Try saved
|
||||
spotify = SpotifyAPIWrapper();
|
||||
spotify.trySaved().then((r) {
|
||||
if (r) {
|
||||
Navigator.of(context).pushReplacement(MaterialPageRoute(
|
||||
builder: (context) => SpotifyImporterV2Main(spotify)
|
||||
));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
super.initState();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue