jpochyla / psst

Fast and multi-platform Spotify client with native GUI
MIT License
8.45k stars 215 forks source link

Token fetching should happen async #492

Open jacksongoode opened 2 months ago

jacksongoode commented 2 months ago

Currently, when the application is opened and a token needs to be refetched, the window will not open until the token is retrieved. While this might make sense from a serialized loading perspective, it gives the impression that the entire application is stalling. We should load the token asynchronously and wait for it whilst the window loads simultaneously.