Skip to content

Commit

Permalink
πŸ› fix #71
Browse files Browse the repository at this point in the history
  • Loading branch information
theapache64 committed Sep 10, 2021
1 parent a25e5c5 commit 5a967d3
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ fun AppDetailScreen(
}
}

private val iconSize = 24.dp

@Composable
private fun PlayStoreIcon(onClicked: () -> Unit) {
Expand All @@ -141,7 +142,8 @@ private fun PlayStoreIcon(onClicked: () -> Unit) {
Icon(
painter = painterResource("drawables/playstore.svg"),
contentDescription = "open play store",
tint = MaterialTheme.colors.onSurface
tint = MaterialTheme.colors.onSurface,
modifier = Modifier.size(iconSize)
)
}
}
Expand All @@ -154,7 +156,8 @@ private fun FilesIcon(onClicked: () -> Unit) {
Icon(
imageVector = Icons.Outlined.Folder,
contentDescription = "open files",
tint = MaterialTheme.colors.onSurface
tint = MaterialTheme.colors.onSurface,
modifier = Modifier.size(iconSize)
)
}
}
Expand All @@ -166,7 +169,8 @@ private fun CodeIcon(onClicked: () -> Unit) {
) {
Icon(
imageVector = Icons.Outlined.Code,
contentDescription = "Browse Code"
contentDescription = "Browse Code",
modifier = Modifier.size(iconSize)
)
}
}

0 comments on commit 5a967d3

Please sign in to comment.