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

[comment setBodyText:body]; [comment setBodyText:body];
[comment setBodyRichTextAttributed:bodyMutableAttributedText]; [comment setBodyRichTextAttributed:bodyMutableAttributedText];
if (secondVersionPart <= 39) {
if ((firstVersionPart == 2020 && secondVersionPart <= 39) || firstVersionPart == 4) {
[comment setBodyAttributedText:bodyMutableAttributedText]; [comment setBodyAttributedText:bodyMutableAttributedText];
} }
[[commentTreeNode commentTreeHeaderNode] updateContentViewsForData:comment];
CommentTreeHeaderNode *headerNode = [commentTreeNode commentTreeHeaderNode];
[headerNode updateContentViewsForData:comment];
[headerNode configureNodes];
[bodyMutableAttributedText release]; [bodyMutableAttributedText release];
} }

Loading…
Cancel
Save