Release: dev to main #7
@@ -374,7 +374,7 @@ private fun BuildMenuButton(actions: CatanActions, onBuild: (BuildKind?) -> Unit
|
||||
var open by remember { mutableStateOf(false) }
|
||||
val armed = actions.building
|
||||
val anyEnabled = actions.canBuild.isNotEmpty() || armed != null
|
||||
val label = {
|
||||
val label: @Composable () -> Unit = {
|
||||
LabelWithCost(CatanText.BUILD, armed?.let { buildLabel(it) } ?: CatanText.NO_COST)
|
||||
}
|
||||
Box {
|
||||
|
||||
Reference in New Issue
Block a user