Cleanup
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -34,7 +34,7 @@ fun SelectedIndicatorAtom(
|
||||
Icon(
|
||||
modifier = modifier.toggleable(
|
||||
value = true,
|
||||
role = Role.Companion.Checkbox,
|
||||
role = Role.Checkbox,
|
||||
enabled = enabled,
|
||||
onValueChange = {},
|
||||
),
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user