diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java index 04cd976e..5b8fe89c 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java @@ -446,6 +446,12 @@ public class ComposeFragment extends ToolbarFragment implements OnBackPressedLis if(savedInstanceState==null){ mainEditText.setText(initialText); mainEditText.setSelection(mainEditText.length()); + if(!TextUtils.isEmpty(replyTo.spoilerText) && AccountSessionManager.getInstance().isSelf(accountID, replyTo.account)){ + hasSpoiler=true; + spoilerEdit.setVisibility(View.VISIBLE); + spoilerEdit.setText(replyTo.spoilerText); + spoilerBtn.setSelected(true); + } } }else{ replyText.setVisibility(View.GONE);