Skip to content

Commit

Permalink
Optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Nov 28, 2023
1 parent 201df12 commit fb29a73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ extension EnvironmentValues {
set { _openURL = newValue }
}

var _openURL: OpenURLAction {
public var _openURL: OpenURLAction {
get { self[OpenURLActionKey.self] }
set { self[OpenURLActionKey.self] = newValue }
}
// MARK: TODO -

var _openSensitiveURL: OpenURLAction {
public var _openSensitiveURL: OpenURLAction {
get { self[OpenSensitiveURLActionKey.self] }
set { self[OpenSensitiveURLActionKey.self] = newValue }
}
Expand Down
1 change: 1 addition & 0 deletions Sources/OpenSwiftUI/Views/Controls/Link/Link.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public struct Link<Label>: View where Label: View {
self.destination = LinkDestination(configuration: configuration)
}

// TODO: Accessibility
public var body: some View {
Button {
destination.open()
Expand Down

0 comments on commit fb29a73

Please sign in to comment.