A fully functional Android app built entirely with Kotlin and Jetpack Compose
Replace Filled.Android with Filled.Person icon in InterestsIcon
Simon Marquis1959ee53d241
diff --git a/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/AuthorsCarousel.kt b/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/AuthorsCarousel.ktindex a56fc08bb..d5dbdbf72 100644--- a/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/AuthorsCarousel.kt+++ b/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/AuthorsCarousel.kt@@ -30,7 +30,6 @@ import androidx.compose.foundation.lazy.itemsimport androidx.compose.foundation.selection.toggleableimport androidx.compose.foundation.shape.CircleShapeimport androidx.compose.material.icons.Icons-import androidx.compose.material.icons.filled.Androidimport androidx.compose.material.icons.filled.Personimport androidx.compose.material3.Iconimport androidx.compose.material3.MaterialThemediff --git a/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsItem.kt b/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsItem.ktindex b9c2afadd..8a615d6e7 100644--- a/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsItem.kt+++ b/feature-interests/src/main/java/com/google/samples/apps/nowinandroid/feature/interests/InterestsItem.kt@@ -16,6 +16,7 @@package com.google.samples.apps.nowinandroid.feature.interests+import androidx.compose.foundation.backgroundimport androidx.compose.foundation.clickableimport androidx.compose.foundation.layout.Columnimport androidx.compose.foundation.layout.Row@@ -23,8 +24,8 @@ import androidx.compose.foundation.layout.Spacerimport androidx.compose.foundation.layout.paddingimport androidx.compose.foundation.layout.sizeimport androidx.compose.foundation.layout.width-import androidx.compose.material.icons.Icons.Filled-import androidx.compose.material.icons.filled.Android+import androidx.compose.material.icons.Icons+import androidx.compose.material.icons.filled.Personimport androidx.compose.material3.Iconimport androidx.compose.material3.MaterialThemeimport androidx.compose.material3.Surface@@ -105,10 +106,11 @@ private fun InterestContent(name: String, description: String, modifier: Modifieprivate fun InterestsIcon(topicImageUrl: String, modifier: Modifier = Modifier) {if (topicImageUrl.isEmpty()) {Icon(- imageVector = Filled.Android,- tint = Color.Magenta,- contentDescription = null,modifier = modifier+ .background(MaterialTheme.colorScheme.surface)+ .padding(4.dp),+ imageVector = Icons.Filled.Person,+ contentDescription = null, // decorative image)} else {AsyncImage(