remove openURL in InfoPane because ReleaseNotesView already has it

This commit is contained in:
Duong Thai 2023-10-13 15:31:03 +07:00
parent 77ca8a2571
commit cecceea62f

View file

@ -8,8 +8,7 @@ import struct XCModel.Compilers
struct InfoPane: View {
@EnvironmentObject var appState: AppState
let selectedXcodeID: Xcode.ID?
@SwiftUI.Environment(\.openURL) var openURL: OpenURLAction
var body: some View {
if let xcode = appState.allXcodes.first(where: { $0.id == selectedXcodeID }) {
ScrollView {