Fixed suggested reply text

pull/177/head
M66B 5 years ago
parent 01b36bb8e9
commit adb892cfc2

@ -1958,7 +1958,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
LinearLayout.LayoutParams lparam = new LinearLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT);
List<ConversationAction> actions = cactions.getConversationActions();
for (ConversationAction action : actions) {
for (final ConversationAction action : actions) {
final RemoteAction raction = action.getAction();
final CharSequence title = (raction == null
? context.getString(R.string.title_conversation_action_reply, action.getTextReply())
@ -1976,7 +1976,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Intent reply = new Intent(context, ActivityCompose.class)
.putExtra("action", "reply")
.putExtra("reference", message.id)
.putExtra("text", title);
.putExtra("text", action.getTextReply());
context.startActivity(reply);
} else
raction.getActionIntent().send();

Loading…
Cancel
Save