mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Fix crash on login
This commit is contained in:
parent
8ede5fffea
commit
f109f779dc
1 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ public class ServerSignupDialog extends DialogFragment {
|
||||||
@Override
|
@Override
|
||||||
public void onError(Exception exception) {
|
public void onError(Exception exception) {
|
||||||
Log.e(TAG, exception.getMessage());
|
Log.e(TAG, exception.getMessage());
|
||||||
Toast.makeText(requireContext(), exception.getMessage(), Toast.LENGTH_LONG).show();
|
Toast.makeText(context, exception.getMessage(), Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -137,6 +137,6 @@ public class ServerSignupDialog extends DialogFragment {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
App.getSubsonicClientInstance(requireContext(), true);
|
App.getSubsonicClientInstance(context, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue