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
@@ -37,8 +37,7 @@ extension AttributedString {
.plainText
}
components.append(AttributedStringBuilderComponent(id: String(attributedString.characters),
attributedString: attributedString,
components.append(AttributedStringBuilderComponent(attributedString: attributedString,
type: componentType))
}