File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Sources/RichTextKit/Images Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ This release starts moving types and views that relate to other types into the t
14
14
15
15
* ` RichTextAlignment.Picker ` has a new style parameter.
16
16
* ` RichTextCommand ` is a new namespace for command-related views.
17
+ * ` RichTextLabelValue ` is a new protocol to harmonize label-compatible label values.
18
+
19
+ ### 💡 Adjustments
20
+
21
+ * Many value types implement ` RichTextLabelValue ` to get a ` label ` property.
22
+
23
+ ### 🐛 Bug Fixes
24
+
25
+ * ` Image.symbol(...) ` removes ` palette ` rendering mode.
17
26
18
27
### 🗑️ Deprecations
19
28
Original file line number Diff line number Diff line change @@ -79,10 +79,9 @@ public extension Image {
79
79
}
80
80
}
81
81
82
- private extension Image {
82
+ extension Image {
83
83
84
84
static func symbol( _ name: String ) -> Image {
85
- Image ( systemName: name)
86
- . symbolRenderingMode ( . palette)
85
+ . init( systemName: name)
87
86
}
88
87
}
You can’t perform that action at this time.
0 commit comments