-
Notifications
You must be signed in to change notification settings - Fork 328
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
Add ErrorView to CustomerCenter #4574
Add ErrorView to CustomerCenter #4574
Conversation
e1c7637
to
cc42021
Compare
1 build increased size
Paywalls 1.0 (1)
|
Item | Install Size Change |
---|---|
DYLD.String Table | ⬆️ 50.2 kB |
Code Signature | ⬆️ 2.9 kB |
Other | ⬆️ 55.5 kB |
🛸 Powered by Emerge Tools
Comment trigger: Size diff threshold of 100.00kB exceeded
…f-the-backend-request # Conflicts: # RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift
…f-the-backend-request # Conflicts: # RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift
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.
LGTM! Just a comment but can be addressed in future PRs.
.localizedString(forKey: "Something went wrong", | ||
value: "Something went wrong", | ||
table: nil) | ||
CompatibilityContentUnavailableView( |
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.
Hmm wondering if it would make sense to have a "retry" button... It might also be worth at least displaying network errors with a different message... But we can improve that in future PRs.
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 wanted to do that, but it involves checking the type of network error, and thought it would complicate things a bit. Let's leave it for a future PR. I will add it to the list of things to do
Added a simple error view when the Customer Center fails