Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
can now signout when pwd not saved. closes #52.
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Sep 21, 2011
1 parent 9892044 commit 43018b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/info/guardianproject/otr/app/im/app/AccountActivity.java
Expand Up @@ -674,8 +674,11 @@ void updateWidgetState() {
mKeepSignIn.setFocusable(rememberPass);
*/

mBtnSignIn.setEnabled(hasNameAndPassword);
mBtnSignIn.setFocusable(hasNameAndPassword);
if (!isSignedIn)
{
mBtnSignIn.setEnabled(hasNameAndPassword);
mBtnSignIn.setFocusable(hasNameAndPassword);
}
}

private final TextWatcher mTextWatcher = new TextWatcher() {
Expand Down

0 comments on commit 43018b0

Please sign in to comment.