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);
|
items.add(spoilerItem);
|
||||||
contentItems=spoilerItem.contentItems;
|
contentItems=spoilerItem.contentItems;
|
||||||
status.spoilerRevealed=false;
|
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);
|
SpoilerStatusDisplayItem spoilerItem=new SpoilerStatusDisplayItem(parentID, fragment, null, status, statusForContent, Type.SPOILER);
|
||||||
items.add(spoilerItem);
|
items.add(spoilerItem);
|
||||||
contentItems=spoilerItem.contentItems;
|
contentItems=spoilerItem.contentItems;
|
||||||
status.spoilerRevealed=false;
|
status.spoilerRevealed=!AccountSessionManager.get(accountID).getLocalPreferences().showCWs;
|
||||||
}else{
|
}else{
|
||||||
contentItems=items;
|
contentItems=items;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue