Skip to content

Commit

Permalink
🚨 Fix Detekt Complaints
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Colman Lopes <[email protected]>
  • Loading branch information
LeoColman committed Jan 16, 2025
1 parent 51efed1 commit 1d4a686
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import br.com.colman.petals.statistics.graph.component.LineChart
import br.com.colman.petals.statistics.graph.data.createAllTimeDistributionWithMovingAverage
import br.com.colman.petals.statistics.graph.formatter.DaysSinceFirstUseFormatter
import br.com.colman.petals.use.repository.Use
import com.github.mikephil.charting.components.LimitLine
import java.time.YearMonth

@Composable
fun AllTimeGraph(uses: List<Use>, dateFormat: String) {
Expand All @@ -21,6 +19,5 @@ fun AllTimeGraph(uses: List<Use>, dateFormat: String) {
labelCount = 5
granularity = 1f
valueFormatter = DaysSinceFirstUseFormatter(uses, dateFormat).formatDate

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ fun createAllTimeAverageDataSet(entryList: List<Entry>, label: String): LineData
color = Color.Green.toArgb()
mode = LineDataSet.Mode.CUBIC_BEZIER
enableDashedLine(10f, 5f, 0f)

}
}

Expand Down

0 comments on commit 1d4a686

Please sign in to comment.