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

[Paywalls V2] Update Image to handle property overrides #4477

Merged

Conversation

joshdholtz
Copy link
Member

@joshdholtz joshdholtz commented Nov 12, 2024

Motivation

Adds size class, selection state, and intro offer overrides to image

Description

See #4476 for more info

condition: ScreenCondition,
apply: @escaping (ImageComponentStyle) -> some View
) -> some View {
let localalizedPartial = LocalizedImagePartial.buildPartial(
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
let localalizedPartial = LocalizedImagePartial.buildPartial(
let localizedPartial = LocalizedImagePartial.buildPartial(

@joshdholtz joshdholtz marked this pull request as ready for review November 13, 2024 11:43
@joshdholtz joshdholtz force-pushed the paywalls-v2/schema-rework-part-6-stack-selection-state branch from 9fc70a4 to 05ca788 Compare November 13, 2024 12:59
Base automatically changed from paywalls-v2/schema-rework-part-6-stack-selection-state to main November 13, 2024 14:00
@joshdholtz joshdholtz force-pushed the paywalls-v2/schema-rework-part-7-image-selection-state branch from 1fe4900 to a398690 Compare November 13, 2024 14:20
@joshdholtz joshdholtz merged commit 02df65f into main Nov 13, 2024
7 checks passed
@joshdholtz joshdholtz deleted the paywalls-v2/schema-rework-part-7-image-selection-state branch November 13, 2024 15:18
This was referenced Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants