mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Continue button wasn't being enabled when code length was correct.
This commit is contained in:
@@ -51,7 +51,7 @@ implements OnEditorActionListener, OnClickListener {
|
||||
protected void onTextChanged(CharSequence text, int start,
|
||||
int lengthBefore, int lengthAfter) {
|
||||
if(continueButton != null)
|
||||
continueButton.setEnabled(lengthAfter == 6);
|
||||
continueButton.setEnabled(getText().length() == 6);
|
||||
}
|
||||
};
|
||||
codeEntry.setTextSize(26);
|
||||
|
||||
Reference in New Issue
Block a user