fix thread spacing and reply lines

This commit is contained in:
Eric Bailey 2023-08-08 11:29:38 -05:00
parent f7a0ea3e13
commit 8cb076f5fd
2 changed files with 218 additions and 177 deletions

View file

@ -107,7 +107,7 @@ export class PostThreadItemModel {
const itemModel = new PostThreadItemModel(this.rootStore, item)
itemModel._depth = this._depth + 1
itemModel._showParentReplyLine =
itemModel.parentUri !== highlightedPostUri && replies.length === 0
itemModel.parentUri !== highlightedPostUri
if (item.replies?.length) {
itemModel._showChildReplyLine = true
itemModel.assignTreeModels(item, highlightedPostUri, false, true)