Skip to content

Commit

Permalink
Update links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed May 18, 2024
1 parent ea8f7e8 commit 3f48a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/SettingsKit/SettingsKit.docc/SettingsKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _SettingsKit_ is a library making it easier to add a settings window to your mac

## Overview

You can add a settings window to an existing scene using the ``SwiftUI/Scene/settings(design:symbolVariant:selectedTab:_:)`` modifier.
You can add a settings window to an existing scene using the ``SwiftUI/Scene/settings(design:symbolVariant:preferredColorScheme:selectedTab:_:)`` modifier.

Find a tutorial covering all the steps under <doc:GettingStarted>.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Adding a settings window to your existing macOS app written in SwiftUI is very s
```swift
import SettingsKit
```
2. Add the ``SwiftUI/Scene/settings(design:symbolVariant:selectedTab:_:)`` modifier to your scene, in this example `WindowGroup`:
2. Add the ``SwiftUI/Scene/settings(design:symbolVariant:preferredColorScheme:selectedTab:_:)`` modifier to your scene, in this example `WindowGroup`:
```swift
var body: some Scene {
WindowGroup {
Expand Down

0 comments on commit 3f48a8d

Please sign in to comment.