Og values when sharing

fix_reports
Thomas 2 years ago
parent 654f7850de
commit a866f5524a

@ -953,22 +953,22 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
int position = statusList.size() - 1; int position = statusList.size() - 1;
statusList.get(position).text = ""; statusList.get(position).text = "";
if (title != null && title.trim().length() > 0) { if (title != null && title.trim().length() > 0) {
statusList.get(position).text += title + "\n\n"; statusList.get(position).text += title + " ";
} else if (subject != null && subject.trim().length() > 0) { } else if (subject != null && subject.trim().length() > 0) {
statusList.get(position).text += subject + "\n\n"; statusList.get(position).text += subject + " ";
} }
if (description != null && description.trim().length() > 0) { if (description != null && description.trim().length() > 0) {
statusList.get(position).text += description + "\n\n";
if (url != null && !description.contains(url)) { if (url != null && !description.contains(url)) {
statusList.get(position).text += url; statusList.get(position).text += url + "\n";
} }
statusList.get(position).text += ">" + description + "\n\n";
} else if (content != null && content.trim().length() > 0) { } else if (content != null && content.trim().length() > 0) {
statusList.get(position).text += content + "\n\n";
if (!content.contains(url)) { if (!content.contains(url)) {
statusList.get(position).text += url; statusList.get(position).text += url + "\n";
} }
statusList.get(position).text += ">" + content + "\n\n";
} else { } else {
statusList.get(position).text += url; statusList.get(position).text += url + "\n\n";
} }
if (saveFilePath != null) { if (saveFilePath != null) {
Attachment attachment = new Attachment(); Attachment attachment = new Attachment();

@ -5,6 +5,7 @@ Changed:
Changed: Changed:
- Cross actions with two accounts display a dialog - Cross actions with two accounts display a dialog
- Order & compact og values when sharing > title - url - content
Fixed: Fixed:
- Text cleared when adding a media - Text cleared when adding a media

Loading…
Cancel
Save