mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 16:23:08 +00:00
Fix crash on login
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user