mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
litres: POST instead of GET
This commit is contained in:
parent
58ca56fafc
commit
910c7cac15
7 changed files with 81 additions and 40 deletions
|
@ -142,7 +142,9 @@ abstract class Util implements UserRegistrationConstants {
|
|||
if (mgr.needsInitialization()) {
|
||||
mgr.initialize();
|
||||
}
|
||||
onSuccess.run();
|
||||
if (onSuccess != null) {
|
||||
onSuccess.run();
|
||||
}
|
||||
} catch (ZLNetworkException e) {
|
||||
mgr.logOut();
|
||||
runAuthenticationDialog(activity, link, e.getMessage(), onSuccess);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue