Retain CWs but expand them when showCWs setting is off
#323, closes #87
This commit is contained in:
parent
2df1b7dd61
commit
4dea7d2a52
|
@ -125,11 +125,11 @@ public abstract class StatusDisplayItem{
|
|||
items.add(spoilerItem);
|
||||
contentItems=spoilerItem.contentItems;
|
||||
status.spoilerRevealed=false;
|
||||
}else if(!TextUtils.isEmpty(statusForContent.spoilerText) && AccountSessionManager.get(accountID).getLocalPreferences().showCWs){
|
||||
}else if(!TextUtils.isEmpty(statusForContent.spoilerText)){
|
||||
SpoilerStatusDisplayItem spoilerItem=new SpoilerStatusDisplayItem(parentID, fragment, null, status, statusForContent, Type.SPOILER);
|
||||
items.add(spoilerItem);
|
||||
contentItems=spoilerItem.contentItems;
|
||||
status.spoilerRevealed=false;
|
||||
status.spoilerRevealed=!AccountSessionManager.get(accountID).getLocalPreferences().showCWs;
|
||||
}else{
|
||||
contentItems=items;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue