mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Composer and RTE polish (#1719)
* Move link button * Always show indent buttons * Fix code blocks and quote block styles * Fix code blocks and quotes style * Update composer attachment icon * Fix send message icon * Fix composer border * Fix rte border * Update RTE button assets * Update close rte icon * Refactor RTE and composer layout * more padding fixes * Update compound * Update WysiwygComposer to 2.11.0 * Fix ui tests * Fix composer bottom padding * Update snapshot tests
This commit is contained in:
@@ -139,7 +139,7 @@ struct AttributedStringBuilder: AttributedStringBuilderProtocol {
|
||||
attributedString.enumerateAttribute(.backgroundColor, in: .init(location: 0, length: attributedString.length), options: []) { value, range, _ in
|
||||
if let value = value as? UIColor,
|
||||
value == temporaryCodeBlockMarkingColor {
|
||||
attributedString.addAttribute(.backgroundColor, value: UIColor.compound._bgCodeBlock as Any, range: range)
|
||||
attributedString.addAttribute(.backgroundColor, value: UIColor(.compound._bgCodeBlock) as Any, range: range)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user