Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows the Style of LicenseListView and LicenseView to be customized. #47

Merged
merged 6 commits into from
Sep 6, 2024

Conversation

Kyome22
Copy link
Contributor

@Kyome22 Kyome22 commented Aug 30, 2024

LicenseList provides the following APIs.

  • LicenseListViewStyle (protocol)
    • .licenseListViewStyle(_:) (ViewModifier)
    • PlainLicenseListViewStyle / .plain
    • DefaultLicenseListViewStyle / .automatic
    • LicenseListViewStyleConfiguration
  • LicenseViewStyle (protocol)
    • licenseViewStyle(_:) (ViewModifier)
    • PlainLicenseViewStyle / .plain
    • WithRepositoryAnchorLinkLicenseViewStyle / .withRepositoryAnchorLink
    • DefaultLicenseViewStyle / .automatic
    • LicenseViewStyleConfiguration

And LicenseList supports tvOS in addition to iOS/iPadOS by default.

tvOS DEMO

untitled

@Kyome22 Kyome22 marked this pull request as ready for review September 5, 2024 12:57
@Kyome22 Kyome22 requested a review from elmetal September 5, 2024 12:57
Copy link
Contributor

@elmetal elmetal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Kyome22 Kyome22 merged commit 2385dc3 into main Sep 6, 2024
2 checks passed
@Kyome22 Kyome22 deleted the style branch September 6, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants