fix: 总玩家数选择器只显示数字,去掉人字

This commit is contained in:
flykhan 2026-04-26 22:22:14 +08:00
parent 807976ca51
commit bfd22f56a8

View File

@ -157,19 +157,12 @@ fun LocalSetupScreen(
modifier = Modifier.fillMaxSize(),
contentAlignment = Alignment.Center
) {
Column(horizontalAlignment = Alignment.CenterHorizontally) {
Text(
text = "$count",
fontSize = 32.sp,
fontWeight = FontWeight.Black,
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)
)
}
Text(
text = "$count",
fontSize = 32.sp,
fontWeight = FontWeight.Black,
color = if (isSelected) Color.Black else Color.White
)
}
}
}