mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 22:59:54 +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,
|
protected void onTextChanged(CharSequence text, int start,
|
||||||
int lengthBefore, int lengthAfter) {
|
int lengthBefore, int lengthAfter) {
|
||||||
if(continueButton != null)
|
if(continueButton != null)
|
||||||
continueButton.setEnabled(lengthAfter == 6);
|
continueButton.setEnabled(getText().length() == 6);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
codeEntry.setTextSize(26);
|
codeEntry.setTextSize(26);
|
||||||
|
|||||||
Reference in New Issue
Block a user