diff --git a/library/src/main/kotlin/app/futured/donut/DonutProgressView.kt b/library/src/main/kotlin/app/futured/donut/DonutProgressView.kt index e979638..6688c1d 100644 --- a/library/src/main/kotlin/app/futured/donut/DonutProgressView.kt +++ b/library/src/main/kotlin/app/futured/donut/DonutProgressView.kt @@ -260,7 +260,7 @@ class DonutProgressView @JvmOverloads constructor( assertDataConsistency(sections) sections - .filter { it.amount >= 0f } + .filter { it.amount > 0f } .forEach { section -> val newLineColor = section.color if (hasEntriesForSection(section.name).not()) {