瀏覽代碼

Fix Reddit not showing author on undeleted comments

master
lint 3 年之前
父節點
當前提交
c6a958540f
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. +5
    -2
      tweak/Reddit.xm

+ 5
- 2
tweak/Reddit.xm 查看文件

@@ -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…
取消
儲存