Skip to content

Commit 17a3a33

Browse files
committed
Make one deprecation typealias iOS only
1 parent 723c528 commit 17a3a33

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/SwiftUIKit/_Deprecated/ListItem+Deprecated.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import SwiftUI
33
@available(*, deprecated, renamed: "ListButton")
44
public typealias ListButtonItem = ListButton
55

6+
#if os(iOS)
67
@available(*, deprecated, renamed: "ListButtonLink")
78
public typealias ListButtonLinkItem = ListButtonLink
9+
#endif
810

911
@available(*, deprecated, renamed: "ListNavigationLink")
1012
public typealias ListNavigationLinkItem = ListNavigationLink

0 commit comments

Comments
 (0)