Browse Source

Fix Reddit not showing author on undeleted comments

master
lint 3 years ago
parent
commit
c6a958540f
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      tweak/Reddit.xm

+ 5
- 2
tweak/Reddit.xm View File

@@ -185,11 +185,14 @@ int secondVersionPart = 0;
[comment setBodyText:body];
[comment setBodyRichTextAttributed:bodyMutableAttributedText];
if (secondVersionPart <= 39) {
if ((firstVersionPart == 2020 && secondVersionPart <= 39) || firstVersionPart == 4) {
[comment setBodyAttributedText:bodyMutableAttributedText];
}
[[commentTreeNode commentTreeHeaderNode] updateContentViewsForData:comment];
CommentTreeHeaderNode *headerNode = [commentTreeNode commentTreeHeaderNode];
[headerNode updateContentViewsForData:comment];
[headerNode configureNodes];
[bodyMutableAttributedText release];
}

Loading…
Cancel
Save