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

Bump target&compile SDK to 35 in the demo app #577

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

AdamGrzybkowski
Copy link
Contributor

Description

This should help us catch issues like the one in the uCrop with edge-to-edge enforcement.

Testing Steps

Build the demo app and test it.

@AdamGrzybkowski AdamGrzybkowski added this to the 2.3.1 milestone Feb 13, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Feb 13, 2025

📲 You can test the changes from this Pull Request in Gravatar Demo by scanning the QR code below to install the corresponding build.
App Name Gravatar Demo
Commit35d9810
Direct Downloadgravatar-demo-prototype-build-pr577-35d9810.apk

Comment on lines -81 to -86

<!-- Lib activities -->
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:theme="@style/Theme.AppCompat" />

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not needed, so removing to clean things up.

@@ -59,7 +58,6 @@ fun GravatarDemoAppTheme(
if (!view.isInEditMode) {
SideEffect {
val window = (view.context as Activity).window
window.statusBarColor = colorScheme.primary.toArgb()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deprecated.

Comment on lines -154 to +152
Column(modifier = Modifier.fillMaxSize()) {
Column(modifier = modifier.fillMaxSize()) {
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 noticed this didn't work well after switching to 35. We should always pass the modifier to the Top level composable, not its children.

@AdamGrzybkowski AdamGrzybkowski merged commit 2a9fa15 into trunk Feb 14, 2025
17 checks passed
@AdamGrzybkowski AdamGrzybkowski deleted the adam/bump_target_SDK branch February 14, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants