mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Login procedure fix
This commit is contained in:
parent
cb8597db66
commit
b380ae160a
6 changed files with 31 additions and 39 deletions
|
|
@ -47,7 +47,10 @@ public class App extends Application {
|
|||
String token = PreferenceUtil.getInstance(context).getToken();
|
||||
String salt = PreferenceUtil.getInstance(context).getSalt();
|
||||
|
||||
SubsonicPreferences preferences = new SubsonicPreferences(server, username, password, token, salt);
|
||||
SubsonicPreferences preferences = new SubsonicPreferences();
|
||||
preferences.setServerUrl(server);
|
||||
preferences.setUsername(username);
|
||||
preferences.setAuthentication(password, token, salt);
|
||||
|
||||
return new Subsonic(preferences);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue