Add CW to replies to own posts with CW
This commit is contained in:
parent
b9ba198408
commit
dd3233e615
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue