Browse Source

Reddit 2020.40.0 support

master
lint 3 years ago
parent
commit
088a9acf72
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      tweak/Reddit.xm

+ 4
- 1
tweak/Reddit.xm View File

@@ -179,7 +179,10 @@ int secondVersionPart = 0;
[comment setAuthor:author];
[comment setBodyText:body];
[comment setBodyRichTextAttributed:bodyMutableAttributedText];
[comment setBodyAttributedText:bodyMutableAttributedText];
if (secondVersionPart <= 39) {
[comment setBodyAttributedText:bodyMutableAttributedText];
}
[[commentTreeNode commentTreeHeaderNode] updateContentViewsForData:comment];

Loading…
Cancel
Save