Skip to content

Commit

Permalink
Remove unnecessary ternary in boolean expression (#4435)
Browse files Browse the repository at this point in the history
  • Loading branch information
SixFiveSoftware authored Oct 19, 2020
1 parent 96ac08d commit 32cc06e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ open class BarChartDataSet: BarLineScatterCandleBubbleChartDataSet, BarChartData
/// `true` if this DataSet is stacked (stacksize > 1) or not.
open var isStacked: Bool
{
return _stackSize > 1 ? true : false
return _stackSize > 1
}

/// The overall entry count, including counting each stack-value individually
Expand Down

0 comments on commit 32cc06e

Please sign in to comment.