mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
only if progress is not visible
This commit is contained in:
parent
e250582941
commit
a2c3d14da7
@ -48,8 +48,10 @@ public class LoginView extends BaseActivity<LoginMvp.View, LoginPresenter> imple
|
||||
}
|
||||
|
||||
public void doLogin() {
|
||||
getPresenter().login(InputHelper.toString(username),
|
||||
InputHelper.toString(password), InputHelper.toString(twoFactor));
|
||||
if(progress.getVisibility() == View.GONE) {
|
||||
getPresenter().login(InputHelper.toString(username),
|
||||
InputHelper.toString(password), InputHelper.toString(twoFactor));
|
||||
}
|
||||
}
|
||||
|
||||
@OnClick(R.id.login) public void onClick() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user