diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-24 01:17:34 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-24 01:17:34 +0200 |
commit | 983104f2f0d8f91a478869ad68a07b449cb550c3 (patch) | |
tree | 4120a2a8f3b5c76944b0d07ffaf9c5bfa0952107 /src/eu/siacs/conversations/ui | |
parent | 7ee2ef5233b832fd419455ab78a26dff33a5da21 (diff) |
presonalized read up to this point message
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java index 810fb540..0a2857d2 100644 --- a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -339,9 +339,13 @@ public class MessageAdapter extends ArrayAdapter<Message> { @Override public void onClick(View v) { - Toast.makeText( - getContext(), - R.string.contact_has_read_up_to_this_point, + String name = item.getConversation() + .getName(true); + String read = getContext() + .getString( + R.string.contact_has_read_up_to_this_point, + name); + Toast.makeText(getContext(), read, Toast.LENGTH_SHORT).show(); } }); |