This commit is contained in:
Thomas 2022-12-19 14:19:22 +01:00
parent 625f15fb32
commit fbeea6a8b8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {