mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 22:53:37 +00:00
Fix crash on login
This commit is contained in:
@@ -104,7 +104,7 @@ public class ServerSignupDialog extends DialogFragment {
|
||||
@Override
|
||||
public void onError(Exception exception) {
|
||||
Log.e(TAG, exception.getMessage());
|
||||
Toast.makeText(requireContext(), exception.getMessage(), Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(context, exception.getMessage(), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -137,6 +137,6 @@ public class ServerSignupDialog extends DialogFragment {
|
||||
return;
|
||||
}
|
||||
|
||||
App.getSubsonicClientInstance(requireContext(), true);
|
||||
App.getSubsonicClientInstance(context, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user