Loading app/src/main/java/app/fedilab/android/mastodon/ui/drawer/ComposeAdapter.java +9 −7 Original line number Diff line number Diff line Loading @@ -1646,6 +1646,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder } } else if (forwardTag && position > 0 && statusDraft.text != null && statusDraft.text.contains("#") && !statusList.get(position).tagAdded) { Status status = statusList.get(position - 1).reblog == null ? statusList.get(position - 1) : statusList.get(position - 1).reblog; if (status.tags != null && status.tags.size() > 0) { statusList.get(position).tagAdded = true; int lenght = 0; for (Tag tag : status.tags) { Loading @@ -1655,6 +1656,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder statusDraft.setCursorToEnd = false; holder.binding.content.setSelection(statusDraft.text.length() - lenght - 3); } } if (statusDraft.spoiler_text != null) { holder.binding.contentSpoiler.setText(statusDraft.spoiler_text); Loading Loading
app/src/main/java/app/fedilab/android/mastodon/ui/drawer/ComposeAdapter.java +9 −7 Original line number Diff line number Diff line Loading @@ -1646,6 +1646,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder } } else if (forwardTag && position > 0 && statusDraft.text != null && statusDraft.text.contains("#") && !statusList.get(position).tagAdded) { Status status = statusList.get(position - 1).reblog == null ? statusList.get(position - 1) : statusList.get(position - 1).reblog; if (status.tags != null && status.tags.size() > 0) { statusList.get(position).tagAdded = true; int lenght = 0; for (Tag tag : status.tags) { Loading @@ -1655,6 +1656,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder statusDraft.setCursorToEnd = false; holder.binding.content.setSelection(statusDraft.text.length() - lenght - 3); } } if (statusDraft.spoiler_text != null) { holder.binding.contentSpoiler.setText(statusDraft.spoiler_text); Loading