Skip to content

Commit

Permalink
update spotify api, initialize api async, version 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
LabyStudio committed Jan 6, 2023
1 parent 97b756f commit 82a6587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'com.github.LabyStudio'
version '1.5.5'
version '1.5.6'

compileJava {
sourceCompatibility = '1.8'
Expand All @@ -21,7 +21,7 @@ build {

dependencies {
implementation 'com.github.LabyStudio:desktopmodules:2.5.5:all'
implementation 'com.github.LabyStudio:java-spotify-api:1.1.5:all'
implementation 'com.github.LabyStudio:java-spotify-api:1.1.7:all'

//implementation project(':desktopmodules-core')
}
Expand Down
Expand Up @@ -38,7 +38,7 @@ public void onDisconnect(Exception exception) {

// Initialize api after modules are registered
if (this.hasActiveModules()) {
this.spotifyAPI.initialize();
this.spotifyAPI.initializeAsync();
}
this.initialized = true;
}
Expand All @@ -47,7 +47,7 @@ public void onDisconnect(Exception exception) {
public void onEnable() {
// Don't initialize api before modules are registered
if (this.initialized) {
this.spotifyAPI.initialize();
this.spotifyAPI.initializeAsync();
}
}

Expand Down

0 comments on commit 82a6587

Please sign in to comment.