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

New media module #212

Closed
wants to merge 3 commits into from
Closed

New media module #212

wants to merge 3 commits into from

Conversation

imashnake0
Copy link
Owner

Created a new media module since we need this code in the profile module (for navigating to media pages) => circular dependency (app <-> profile).

Summary of changes:

  1. Created a new media module.
  2. Moved extension functions from app to material-color-utils.
  3. Moved media files from app to new media module.

Tested changes:

@imashnake0 imashnake0 self-assigned this Dec 2, 2024
@imashnake0 imashnake0 added the gradle Changes to build files label Dec 2, 2024
@@ -41,7 +43,7 @@ android {
buildFeatures {
compose = true
}
composeCompiler.enableStrongSkippingMode = true
composeCompiler.featureFlags = setOf(ComposeFeatureFlag.StrongSkipping)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Strong skipping is on by default now, no?

@@ -42,6 +41,7 @@ import com.imashnake.animite.navigation.SocialRoute
import com.imashnake.animite.profile.ProfileScreen
import com.imashnake.animite.profile.dev.internal.ANILIST_AUTH_DEEPLINK
import com.imashnake.animite.social.SocialScreen
import com.imashnake.media.MediaPage
Copy link
Collaborator

Choose a reason for hiding this comment

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

New package naming scheme?

@@ -15,7 +15,7 @@ import androidx.compose.ui.platform.LocalContext
import com.imashnake.animite.core.ui.LocalPaddings
import com.imashnake.animite.core.ui.Paddings
import com.imashnake.animite.core.ui.rememberDefaultPaddings
import com.imashnake.animite.dev.ext.pastelize
import extensions.pastelize
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems like an oopsie


dependencies {
implementation(libs.compose.material3)
implementation(libs.androidx.coreKtx)
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤨

Copy link
Collaborator

Choose a reason for hiding this comment

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

webp and scale that down, 1.45mb is huge

@imashnake0
Copy link
Owner Author

Ok messy PR lemme chunk my work

@imashnake0 imashnake0 closed this Dec 2, 2024
@imashnake0 imashnake0 mentioned this pull request Dec 29, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gradle Changes to build files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants