mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Fix a crash caused by the server not being reachable during login
This commit is contained in:
parent
16b5f987e8
commit
c1fa79ef29
1 changed files with 2 additions and 0 deletions
|
|
@ -135,6 +135,8 @@ public class ServerAdapter extends RecyclerView.Adapter<ServerAdapter.ViewHolder
|
|||
PreferenceUtil.getInstance(context).setServer(null);
|
||||
PreferenceUtil.getInstance(context).setUser(null);
|
||||
PreferenceUtil.getInstance(context).setPassword(null);
|
||||
PreferenceUtil.getInstance(context).setToken(null);
|
||||
PreferenceUtil.getInstance(context).setSalt(null);
|
||||
PreferenceUtil.getInstance(context).setLowSecurity(false);
|
||||
|
||||
App.getSubsonicClientInstance(context, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue