Skip to content

Commit 5a967d3

Browse files
committed
🐛 fix #71
1 parent a25e5c5 commit 5a967d3

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/main/kotlin/com/theapache64/stackzy/ui/feature/appdetail/AppDetailScreen.kt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ fun AppDetailScreen(
132132
}
133133
}
134134

135+
private val iconSize = 24.dp
135136

136137
@Composable
137138
private fun PlayStoreIcon(onClicked: () -> Unit) {
@@ -141,7 +142,8 @@ private fun PlayStoreIcon(onClicked: () -> Unit) {
141142
Icon(
142143
painter = painterResource("drawables/playstore.svg"),
143144
contentDescription = "open play store",
144-
tint = MaterialTheme.colors.onSurface
145+
tint = MaterialTheme.colors.onSurface,
146+
modifier = Modifier.size(iconSize)
145147
)
146148
}
147149
}
@@ -154,7 +156,8 @@ private fun FilesIcon(onClicked: () -> Unit) {
154156
Icon(
155157
imageVector = Icons.Outlined.Folder,
156158
contentDescription = "open files",
157-
tint = MaterialTheme.colors.onSurface
159+
tint = MaterialTheme.colors.onSurface,
160+
modifier = Modifier.size(iconSize)
158161
)
159162
}
160163
}
@@ -166,7 +169,8 @@ private fun CodeIcon(onClicked: () -> Unit) {
166169
) {
167170
Icon(
168171
imageVector = Icons.Outlined.Code,
169-
contentDescription = "Browse Code"
172+
contentDescription = "Browse Code",
173+
modifier = Modifier.size(iconSize)
170174
)
171175
}
172176
}

0 commit comments

Comments
 (0)