fix: 总玩家数选择器只显示数字,去掉人字
This commit is contained in:
parent
807976ca51
commit
bfd22f56a8
@ -157,19 +157,12 @@ fun LocalSetupScreen(
|
|||||||
modifier = Modifier.fillMaxSize(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
contentAlignment = Alignment.Center
|
contentAlignment = Alignment.Center
|
||||||
) {
|
) {
|
||||||
Column(horizontalAlignment = Alignment.CenterHorizontally) {
|
|
||||||
Text(
|
Text(
|
||||||
text = "$count",
|
text = "$count",
|
||||||
fontSize = 32.sp,
|
fontSize = 32.sp,
|
||||||
fontWeight = FontWeight.Black,
|
fontWeight = FontWeight.Black,
|
||||||
color = if (isSelected) Color.Black else Color.White
|
color = if (isSelected) Color.Black else Color.White
|
||||||
)
|
)
|
||||||
Text(
|
|
||||||
text = "人",
|
|
||||||
fontSize = 12.sp,
|
|
||||||
color = if (isSelected) Color.Black.copy(alpha = 0.7f) else Color.White.copy(alpha = 0.5f)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user