Make incoming settings username editable
And get rid of that annoying "you can't edit this" info text bubble Change-Id: I7efc039b39be292512f25bd5470b7ae36927c8f3
This commit is contained in:
parent
b1b9707b77
commit
5da2f12dc5
|
@ -168,11 +168,7 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment
|
||||||
@Override
|
@Override
|
||||||
public void onTextChanged(CharSequence s, int start, int before, int count) { }
|
public void onTextChanged(CharSequence s, int start, int before, int count) { }
|
||||||
};
|
};
|
||||||
// We're editing an existing account; don't allow modification of the user name
|
|
||||||
if (mSettingsMode) {
|
|
||||||
makeTextViewUneditable(mUsernameView,
|
|
||||||
getString(R.string.account_setup_username_uneditable_error));
|
|
||||||
}
|
|
||||||
mUsernameView.addTextChangedListener(mValidationTextWatcher);
|
mUsernameView.addTextChangedListener(mValidationTextWatcher);
|
||||||
mServerView.addTextChangedListener(mValidationTextWatcher);
|
mServerView.addTextChangedListener(mValidationTextWatcher);
|
||||||
mPortView.addTextChangedListener(mValidationTextWatcher);
|
mPortView.addTextChangedListener(mValidationTextWatcher);
|
||||||
|
|
Loading…
Reference in New Issue