Commit a866f552 authored by Thomas's avatar Thomas
Browse files

Og values when sharing

parent 654f7850
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -953,22 +953,22 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
        int position = statusList.size() - 1;
        statusList.get(position).text = "";
        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) {
            statusList.get(position).text += subject + "\n\n";
            statusList.get(position).text += subject + " ";
        }
        if (description != null && description.trim().length() > 0) {
            statusList.get(position).text += description + "\n\n";
            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) {
            statusList.get(position).text += content + "\n\n";
            if (!content.contains(url)) {
                statusList.get(position).text += url;
                statusList.get(position).text += url + "\n";
            }
            statusList.get(position).text += ">" + content + "\n\n";
        } else {
            statusList.get(position).text += url;
            statusList.get(position).text += url + "\n\n";
        }
        if (saveFilePath != null) {
            Attachment attachment = new Attachment();
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ Changed:

Changed:
- Cross actions with two accounts display a dialog
- Order & compact og values when sharing > title - url - content

Fixed:
- Text cleared when adding a media