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: Organize files into packages #1241

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Conversation

tonidero
Copy link
Contributor

Description

This PR reorganizes the the new RevenueCatUI module files. The packages are:

  • composables: For generic composables used in multiple UI locations
  • helpers: Generic helpers
  • extensions: Extensions for existing classes
  • data: Data used to drive the UI and view model

@tonidero tonidero added refactor A code change that neither fixes a bug nor adds a feature RevenueCatUI labels Sep 12, 2023
@@ -11,7 +11,7 @@ import coil.compose.AsyncImage
import coil.disk.DiskCache

@Composable
fun RemoteImage(
internal fun RemoteImage(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I took the chance to make this internal


import android.util.Log

object Logger {
internal object Logger {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here, making it internal

@tonidero tonidero marked this pull request as ready for review September 12, 2023 09:44
@tonidero tonidero requested a review from a team September 12, 2023 09:44
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

❗ No coverage uploaded for pull request base (paywalls@0453d1a). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             paywalls    #1241   +/-   ##
===========================================
  Coverage            ?   85.10%           
===========================================
  Files               ?      187           
  Lines               ?     6346           
  Branches            ?      923           
===========================================
  Hits                ?     5401           
  Misses              ?      598           
  Partials            ?      347           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tonidero tonidero merged commit f5eeace into paywalls Sep 12, 2023
7 checks passed
@tonidero tonidero deleted the organize-files-into-packages branch September 12, 2023 14:15
tonidero added a commit that referenced this pull request Oct 31, 2023
### Description
This PR reorganizes the the new RevenueCatUI module files. The packages
are:
- `composables`: For generic composables used in multiple UI locations
- `helpers`: Generic helpers
- `extensions`: Extensions for existing classes
- `data`: Data used to drive the UI and view model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor A code change that neither fixes a bug nor adds a feature RevenueCatUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants