|
@@ -180,7 +180,7 @@ fun ServerItem(server: Server, navHostController: NavHostController, serverPing:
|
|
|
.border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
|
|
|
.paint(
|
|
|
painter = painterResource(id = icon),
|
|
|
- contentScale = ContentScale.FillHeight
|
|
|
+ contentScale = ContentScale.FillBounds
|
|
|
)
|
|
|
)
|
|
|
Text(text = server.server_name!!,
|
|
@@ -329,7 +329,7 @@ fun FavoriteServerItem(server: Server, navHostController: NavHostController) {
|
|
|
.border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
|
|
|
.paint(
|
|
|
painter = painterResource(id = icon),
|
|
|
- contentScale = ContentScale.FillHeight
|
|
|
+ contentScale = ContentScale.FillBounds
|
|
|
)
|
|
|
|
|
|
)
|
|
@@ -506,7 +506,7 @@ fun ServerSearchItem(
|
|
|
.border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
|
|
|
.paint(
|
|
|
painter = painterResource(id = icon),
|
|
|
- contentScale = ContentScale.FillHeight
|
|
|
+ contentScale = ContentScale.FillBounds
|
|
|
)
|
|
|
)
|
|
|
Text(text = server.server_name!!,
|
|
@@ -626,7 +626,7 @@ fun ServerSpecificItem(
|
|
|
.border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
|
|
|
.paint(
|
|
|
painter = painterResource(id = icon),
|
|
|
- contentScale = ContentScale.FillHeight
|
|
|
+ contentScale = ContentScale.FillBounds
|
|
|
)
|
|
|
)
|
|
|
Text(text = server.server_name!!,
|