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:
Tony Mantler 2014-06-09 16:22:53 -07:00
parent b1b9707b77
commit 5da2f12dc5
1 changed files with 1 additions and 5 deletions

View File

@ -168,11 +168,7 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment
@Override
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);
mServerView.addTextChangedListener(mValidationTextWatcher);
mPortView.addTextChangedListener(mValidationTextWatcher);