forked from mirrors/Fedilab
Fix issue #658
This commit is contained in:
parent
625f15fb32
commit
fbeea6a8b8
1 changed files with 1 additions and 1 deletions
|
@ -1447,7 +1447,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
||||||
statusDraft.setCursorToEnd = false;
|
statusDraft.setCursorToEnd = false;
|
||||||
holder.binding.content.setSelection(holder.binding.content.getText().length());
|
holder.binding.content.setSelection(holder.binding.content.getText().length());
|
||||||
}
|
}
|
||||||
if (statusDraft.spoiler_text != null) {
|
if (statusDraft.spoiler_text != null && holder.binding.buttonSensitive.isChecked()) {
|
||||||
holder.binding.contentSpoiler.setText(statusDraft.spoiler_text);
|
holder.binding.contentSpoiler.setText(statusDraft.spoiler_text);
|
||||||
holder.binding.contentSpoiler.setSelection(holder.binding.contentSpoiler.getText().length());
|
holder.binding.contentSpoiler.setSelection(holder.binding.contentSpoiler.getText().length());
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue