This commit is contained in:
Benoit Marty
2026-01-02 16:07:45 +01:00
parent 475abd4a3b
commit 78ad8056a1
6 changed files with 6 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ class ContributesNodeProcessor(
.addAnnotation(Binds::class) .addAnnotation(Binds::class)
.addAnnotation(IntoMap::class) .addAnnotation(IntoMap::class)
.addAnnotation( .addAnnotation(
AnnotationSpec.Companion.builder(ClassName.bestGuess(nodeKeyFqName.asString())).addMember( AnnotationSpec.builder(ClassName.bestGuess(nodeKeyFqName.asString())).addMember(
CLASS_PLACEHOLDER, CLASS_PLACEHOLDER,
ClassName.bestGuess(ksClass.qualifiedName!!.asString()) ClassName.bestGuess(ksClass.qualifiedName!!.asString())
).build() ).build()

View File

@@ -49,7 +49,7 @@ fun GroupHeaderView(
modifier: Modifier = Modifier modifier: Modifier = Modifier
) { ) {
// Ignore isHighlighted for now, we need a design decision on it. // Ignore isHighlighted for now, we need a design decision on it.
val backgroundColor = Color.Companion.Transparent val backgroundColor = Color.Transparent
val shape = RoundedCornerShape(CORNER_RADIUS) val shape = RoundedCornerShape(CORNER_RADIUS)
Box( Box(

View File

@@ -34,7 +34,7 @@ fun SelectedIndicatorAtom(
Icon( Icon(
modifier = modifier.toggleable( modifier = modifier.toggleable(
value = true, value = true,
role = Role.Companion.Checkbox, role = Role.Checkbox,
enabled = enabled, enabled = enabled,
onValueChange = {}, onValueChange = {},
), ),

View File

@@ -36,7 +36,7 @@ internal fun ImageAvatar(
SubcomposeAsyncImage( SubcomposeAsyncImage(
model = avatarData, model = avatarData,
contentDescription = contentDescription, contentDescription = contentDescription,
contentScale = ContentScale.Companion.Crop, contentScale = ContentScale.Crop,
modifier = modifier modifier = modifier
.size(size) .size(size)
.clip(avatarShape) .clip(avatarShape)

View File

@@ -50,6 +50,6 @@ object ElementNavigationBarItemDefaults {
selectedTextColor = ElementTheme.colors.textPrimary, selectedTextColor = ElementTheme.colors.textPrimary,
unselectedIconColor = ElementTheme.colors.iconTertiary, unselectedIconColor = ElementTheme.colors.iconTertiary,
unselectedTextColor = ElementTheme.colors.textDisabled, unselectedTextColor = ElementTheme.colors.textDisabled,
selectedIndicatorColor = Color.Companion.Transparent, selectedIndicatorColor = Color.Transparent,
) )
} }

View File

@@ -27,7 +27,7 @@ class TestParentNode<Child : Node>(
private val childNodeFactory: (buildContext: BuildContext, plugins: List<Plugin>) -> Child, private val childNodeFactory: (buildContext: BuildContext, plugins: List<Plugin>) -> Child,
) : DependencyInjectionGraphOwner, ) : DependencyInjectionGraphOwner,
Node( Node(
buildContext = BuildContext.Companion.root(savedStateMap = null), buildContext = BuildContext.root(savedStateMap = null),
plugins = emptyList(), plugins = emptyList(),
view = EmptyNodeView, view = EmptyNodeView,
) { ) {