Skip to content

1.1.0

Compare
Choose a tag to compare
@Kyome22 Kyome22 released this 06 Sep 01:37
· 14 commits to main since this release
2385dc3

Breaking Change

  • Allows the Style of LicenseListView and LicenseView to be customized. by @Kyome22 in #47
    • You can customize the styles of LicenseListView and LicenseView.
      // 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())

Modifications

  • Supported tvOS (17.0+) 🎉.

Full Changelog: 1.0.0...1.1.0