Skip to content

Commit

Permalink
fix: change the type of licenseFileURL property to optional type
Browse files Browse the repository at this point in the history
  • Loading branch information
kamimi01 committed Jun 26, 2023
1 parent 26aefc6 commit 146cc57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/AppInfoList/AppInfoListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ public struct AppInfoListView: View {
@Environment(\.openURL) var openURL
let appearance: AppInfoAppearance
let info: AppInfo
let licenseFileURL: URL
let licenseFileURL: URL?

public init(appearance: AppInfoAppearance = AppInfoAppearance(), info: AppInfo, licenseFileURL: URL) {
public init(appearance: AppInfoAppearance = AppInfoAppearance(), info: AppInfo, licenseFileURL: URL?) {
self.appearance = appearance
self.info = info
self.licenseFileURL = licenseFileURL
Expand Down

0 comments on commit 146cc57

Please sign in to comment.