Skip to content

Commit

Permalink
Use the adjustedRowsSection value instead of just the constant
Browse files Browse the repository at this point in the history
  • Loading branch information
vincode-io committed Nov 15, 2024
1 parent 3757e9f commit df8aa7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VinOutlineKit/Sources/VinOutlineKit/Outline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ public final class Outline: RowContainer, Identifiable, Equatable, Hashable {

var changes = rebuildShadowTable()
let reloads = searchResultCoordinates.compactMap { $0.row.shadowTableIndex }
changes.append(OutlineElementChanges(section: .rows, reloads: Set(reloads)))
changes.append(OutlineElementChanges(section: adjustedRowsSection, reloads: Set(reloads)))
outlineElementsDidChange(changes)
}

Expand Down

0 comments on commit df8aa7b

Please sign in to comment.