mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Og values when sharing
This commit is contained in:
parent
654f7850de
commit
a866f5524a
2 changed files with 8 additions and 7 deletions
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue