Fix for overlapping timestamp when last block is not plainText (#5629)

* fix for the overlapping timestamp when the last block is not plain text

* remove id and use offset as iterator in the foearch of the components
This commit is contained in:
Mauro
2026-05-22 17:56:32 +02:00
committed by GitHub
parent 86b51fb104
commit edd7130a97
8 changed files with 49 additions and 18 deletions
@@ -8,14 +8,13 @@
import Foundation
struct AttributedStringBuilderComponent: Hashable, Identifiable {
struct AttributedStringBuilderComponent: Hashable {
enum ComponentType {
case plainText
case blockquote
case codeBlock
}
let id: String
let attributedString: AttributedString
let type: ComponentType
}