Skip to content

Commit

Permalink
Change icon design in FeedGroupIconGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Apr 17, 2024
1 parent eca561a commit 360735c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.requiredSize
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.twotone.FolderOpen
import androidx.compose.material3.Icon
Expand Down Expand Up @@ -78,6 +78,10 @@ private fun FeedIcon(icon: String, modifier: Modifier = Modifier) {
AsyncImage(
url = icon,
contentDescription = null,
modifier = Modifier.requiredSize(18.dp).clip(CircleShape).background(Color.White).then(modifier)
modifier =
Modifier.requiredSize(18.dp)
.clip(RoundedCornerShape(6.dp))
.background(Color.White)
.then(modifier)
)
}

0 comments on commit 360735c

Please sign in to comment.