-
Notifications
You must be signed in to change notification settings - Fork 335
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] Add visible
property to all components (and overrides to ones that were missing)
#4781
Conversation
1 build increased size
Paywalls 1.0 (1)
|
Item | Install Size Change |
---|---|
DYLD.String Table | ⬆️ 61.0 kB |
RevenueCatUI.TabsComponentViewModel.TabsComponentViewModel | ⬆️ 13.8 kB |
RevenueCatUI.TimelineComponentViewModel.TimelineComponentViewMode... | ⬆️ 10.1 kB |
📝 RevenueCat.PaywallComponent.PartialTimelineComponent.PartialTimel... | ⬆️ 4.6 kB |
RevenueCatUI.TextComponentViewModel.TextComponentViewModel | ⬇️ -4.3 kB |
🛸 Powered by Emerge Tools
Comment trigger: Size diff threshold of 100.00kB exceeded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Just a couple of cleanup things
RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift
Outdated
Show resolved
Hide resolved
RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift
Outdated
Show resolved
Hide resolved
29bb1dd
to
35d9e2f
Compare
f8286e8
to
5bc8084
Compare
visible
property to all components (and overrides to ones that were missing)visible
property to all components (and overrides to ones that were missing)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Hiding whitespace on GitHub made reviewing this a breeze.
|
||
public enum PaywallComponent: PaywallComponentBase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious about the motivation behind this change. (I have no opinion on it though haha.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhhh... at one point I had the PaywallComponentBase
protocol required a visible
property but then took it away 😅
This could use some clean up work in the future anyway 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha okay okay, thanks for explaining!
Motivation
All (or almost all) need the new
visible
propertyDescription
Coming soon