mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Fix issue #349 - Message content set to null when sharing
This commit is contained in:
parent
2ebcdaf330
commit
b0eb52cf94
1 changed files with 4 additions and 1 deletions
|
@ -1830,7 +1830,10 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
else
|
||||
extra_text = "@" + extra_text;
|
||||
extra_text += " \uD83D\uDD17 " + url + "\r\n-\n";
|
||||
extra_text += statusToDeal.text;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
|
||||
extra_text += Html.fromHtml(statusToDeal.content, Html.FROM_HTML_MODE_LEGACY).toString();
|
||||
else
|
||||
extra_text += Html.fromHtml(statusToDeal.content).toString();
|
||||
} else {
|
||||
extra_text = url;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue