Skip to content

Commit

Permalink
doc: update document.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 5, 2024
1 parent facb26d commit 31ae259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Apply a specific appearance to a symbol image

```swift
var configuration = NSImage.SymbolConfiguration(
paletteColors: [.systemTeal, .systemGray]
paletteColors: [.systemTeal, .systemGray]
)
configuration = config.applying(.init(textStyle: .title1))
imageView.symbolConfiguration = config
Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let customSymbol:NSImage? = NSImage(named: "MyCustomSymbolName")?

```swift
var configuration = NSImage.SymbolConfiguration(
paletteColors: [.systemTeal, .systemGray]
paletteColors: [.systemTeal, .systemGray]
)
configuration = config.applying(.init(textStyle: .title1))
imageView.symbolConfiguration = config
Expand Down

0 comments on commit 31ae259

Please sign in to comment.