Minor fixes, so I can leave for another 2 months

This commit is contained in:
exttex 2021-04-06 09:57:38 +02:00
parent 676d5d45cc
commit 9f850a6f30
6 changed files with 100 additions and 9 deletions

View file

@ -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();
}