Skip to content

Commit

Permalink
Merge branch 'feature/always-preserve-cw' into fork
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed May 21, 2022
2 parents ad9518e + 0f22315 commit f1bfe05
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ public void afterTextChanged(Editable s){
if(savedInstanceState==null){
mainEditText.setText(initialText);
mainEditText.setSelection(mainEditText.length());
if(!TextUtils.isEmpty(replyTo.spoilerText) && AccountSessionManager.getInstance().isSelf(accountID, replyTo.account)){
// TODO: setting for preserving cw always / only when replying to own posts
// && AccountSessionManager.getInstance().isSelf(accountID, replyTo.account)
if(!TextUtils.isEmpty(replyTo.spoilerText)){
hasSpoiler=true;
spoilerEdit.setVisibility(View.VISIBLE);
spoilerEdit.setText(replyTo.spoilerText);
Expand Down

0 comments on commit f1bfe05

Please sign in to comment.