enc-backup: use black check icon for button, and some cleanup
This commit is contained in:
@@ -251,16 +251,14 @@ public class BackupCodeEntryFragment extends Fragment implements OnBackStackChan
|
||||
|
||||
// we could do this in better granularity in onTextChanged, but it's not worth it
|
||||
mCurrentCodeInput.replace(index, index +s.length(), s.toString());
|
||||
// if (s.length() == 6) {
|
||||
checkIfMatchingCode();
|
||||
// }
|
||||
checkIfCodeIsCorrect();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void checkIfMatchingCode() {
|
||||
private void checkIfCodeIsCorrect() {
|
||||
|
||||
for (EditText editText : mCodeEditText) {
|
||||
if (editText.getText().length() < 6) {
|
||||
|
||||
Reference in New Issue
Block a user