-
Notifications
You must be signed in to change notification settings - Fork 102
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
Update to Kotlin 1.9.24, w/ corresponding Compose, KSP #1242
Conversation
ad894ae
to
036c8b8
Compare
8004eaa
to
ec62f2d
Compare
event.changes.forEach { change -> | ||
if (change.pressed != change.previousPressed) change.consume() | ||
private fun Modifier.disableTouchInput(): Modifier = | ||
then( |
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.
You don't need then
when calling other modifier factories that already properly chain. This actually ends up calling then
twice which i'm surprised doesn't have negtive side effects.
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.
it was giving me a lint error though for not calling then
🤔 . Maybe i need to try again.
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.
nvm, must have been in an older version of the refactor I had done. No warning/lint now!
@@ -32,7 +31,9 @@ class ComposeLifecycleOwnerTest { | |||
composeTestRule.setContent { | |||
parentLifecycle.currentState = RESUMED | |||
childLifecycleOwner = rememberChildLifecycleOwner(parentLifecycle) | |||
CompositionLocalProvider(LocalLifecycleOwner provides childLifecycleOwner) { | |||
CompositionLocalProvider( | |||
androidx.lifecycle.compose.LocalLifecycleOwner provides childLifecycleOwner |
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.
Why remove this import?
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.
just didn't get the import in after the change to the androidx.lifecycle version. will add.
ec62f2d
to
6e59250
Compare
Kotlin and KSP 1.9.24
compose compiler - 1.5.14
compose bom - 2024.09.02
androidx.lifecycle to 2.8.1