Skip to content

Commit

Permalink
detekt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteckman committed Dec 2, 2023
1 parent efaf972 commit 5e769d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -741,14 +741,15 @@ public fun <X, Y> XYGraph(
)
},
xAxisTitle = {
if (xAxisTitle != null)
if (xAxisTitle != null) {
Box(modifier = Modifier.fillMaxWidth(), contentAlignment = Alignment.Center) {
Text(
xAxisTitle,
color = MaterialTheme.colorScheme.onBackground,
style = MaterialTheme.typography.titleMedium
)
}
}
},
yAxisStyle,
yAxisLabels = {
Expand Down

0 comments on commit 5e769d9

Please sign in to comment.