File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Sources/RichTextKit/Colors Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ private extension EditorScreen {
59
59
var toolbar : some View {
60
60
RichTextFormatSidebar (
61
61
context: context,
62
- colorPickers: . allRelevant
62
+ colorPickers: . all
63
63
)
64
64
. frame ( width: 250 )
65
65
}
Original file line number Diff line number Diff line change @@ -86,10 +86,8 @@ public extension RichTextColor {
86
86
}
87
87
}
88
88
89
- public extension Collection where Element == RichTextColor {
90
- static var allRelevant : [ RichTextColor ] { Element . allCases - . undefined }
91
-
92
- static var all : [ RichTextColor ] { Element . allCases }
89
+ public extension Collection where Element == RichTextColor {
90
+ static var all : [ RichTextColor ] { Element . allCases - . undefined }
93
91
}
94
92
95
93
extension Array where Element == RichTextColor {
You can’t perform that action at this time.
0 commit comments