1.1.0
Breaking Change
- Allows the Style of LicenseListView and LicenseView to be customized. by @Kyome22 in #47
- You can customize the styles of
LicenseListView
andLicenseView
.// Example struct MyLicenseViewStyle: LicenseViewStyle { func makeBody(configuration: Configuration) -> some View { VStack { HStack { Spacer() Button { if let url = configuration.library.url { configuration.openURL(url) } } label: { Image(systemName: "link") } } Text(configuration.library.licenseBody) .multilineTextAlignment(.center) } } } LicenseListView() .licenseViewStyle(MyLicenseViewStyle())
- You can customize the styles of
Modifications
- Supported tvOS (17.0+) 🎉.
Full Changelog: 1.0.0...1.1.0