From d68a610ac686b21063a8ed716ecf07c0b2a21bf8 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 9 Jan 2018 10:30:32 +0100 Subject: [PATCH] change edit button in quick edit dialog to accept --- src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index f4c64b674..6c9f02fdc 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -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); }