Cleanup
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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 = {},
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user