* commit 'ba46f269abf8cbafaf68902a23935a1779aa316d': Fix enabling of submit button
This commit is contained in:
@@ -271,14 +271,12 @@ public class WifiConfigController implements TextWatcher,
|
||||
(mAccessPointSecurity == AccessPoint.SECURITY_PSK && mPasswordView.length() < 8)))) {
|
||||
enabled = false;
|
||||
} else {
|
||||
enabled = true;
|
||||
}
|
||||
|
||||
if (ipAndProxyFieldsAreValid()) {
|
||||
enabled = true;
|
||||
} else {
|
||||
enabled = false;
|
||||
}
|
||||
}
|
||||
submit.setEnabled(enabled);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user