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

View file

@ -724,10 +724,8 @@ public abstract class XmppActivity extends Activity {
if (password) {
editor.setInputType(InputType.TYPE_CLASS_TEXT
| 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) {
editor.setHint(hint);
}