maths
Thomas 2 years ago
parent 625f15fb32
commit fbeea6a8b8

@ -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…
Cancel
Save