mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
register user
dialog fix
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1292 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
e9426e71ae
commit
ce3dd83f9e
3 changed files with 31 additions and 15 deletions
|
@ -130,7 +130,9 @@ class AuthenticationDialog extends NetworkDialog {
|
|||
NetworkDialog.show(NetworkDialog.DIALOG_REGISTER_USER, myLink, new Runnable() {
|
||||
public void run() {
|
||||
if (mgr.isAuthorised(true).Status == ZLBoolean3.B3_TRUE) {
|
||||
myOnSuccessRunnable.run();
|
||||
if (myOnSuccessRunnable != null) {
|
||||
myOnSuccessRunnable.run();
|
||||
}
|
||||
} else {
|
||||
// TODO: test this code !!!
|
||||
NetworkDialog.show(NetworkDialog.DIALOG_AUTHENTICATION, myLink, myOnSuccessRunnable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue