change edit button in quick edit dialog to accept

This commit is contained in:
Daniel Gultsch 2018-01-09 10:30:32 +01:00
parent 965c8cbbd5
commit d68a610ac6
1 changed files with 1 additions and 3 deletions

View File

@ -724,10 +724,8 @@ public abstract class XmppActivity extends Activity {
if (password) { if (password) {
editor.setInputType(InputType.TYPE_CLASS_TEXT editor.setInputType(InputType.TYPE_CLASS_TEXT
| InputType.TYPE_TEXT_VARIATION_PASSWORD); | InputType.TYPE_TEXT_VARIATION_PASSWORD);
builder.setPositiveButton(R.string.accept, null);
} else {
builder.setPositiveButton(R.string.edit, null);
} }
builder.setPositiveButton(R.string.accept, null);
if (hint != 0) { if (hint != 0) {
editor.setHint(hint); editor.setHint(hint);
} }