Fixed typo

This commit is contained in:
M66B 2019-09-02 11:32:05 +02:00
parent 76a6dad91b
commit 10f5f33931
2 changed files with 3 additions and 3 deletions

View File

@ -1156,7 +1156,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
private void bindAttachments(final TupleMessageEx message, @Nullable List<EntityAttachment> attachments) {
if (attachments == null)
attachments = new ArrayList<>();
properties.setAttchments(message.id, attachments);
properties.setAttachments(message.id, attachments);
boolean show_inline = properties.getValue("inline", message.id);
Log.i("Show inline=" + show_inline);
@ -3540,7 +3540,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Spanned getBody(long id);
void setAttchments(long id, List<EntityAttachment> attachments);
void setAttachments(long id, List<EntityAttachment> attachments);
List<EntityAttachment> getAttachments(long id);

View File

@ -1204,7 +1204,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
@Override
public void setAttchments(long id, List<EntityAttachment> list) {
public void setAttachments(long id, List<EntityAttachment> list) {
attachments.put(id, list);
}