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(IntoMap::class)
.addAnnotation(
AnnotationSpec.Companion.builder(ClassName.bestGuess(nodeKeyFqName.asString())).addMember(
AnnotationSpec.builder(ClassName.bestGuess(nodeKeyFqName.asString())).addMember(
CLASS_PLACEHOLDER,
ClassName.bestGuess(ksClass.qualifiedName!!.asString())
).build()

View File

@@ -49,7 +49,7 @@ fun GroupHeaderView(
modifier: Modifier = Modifier
) {
// 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)
Box(

View File

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

View File

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

View File

@@ -50,6 +50,6 @@ object ElementNavigationBarItemDefaults {
selectedTextColor = ElementTheme.colors.textPrimary,
unselectedIconColor = ElementTheme.colors.iconTertiary,
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,
) : DependencyInjectionGraphOwner,
Node(
buildContext = BuildContext.Companion.root(savedStateMap = null),
buildContext = BuildContext.root(savedStateMap = null),
plugins = emptyList(),
view = EmptyNodeView,
) {