Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 276f0e66 authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

Merge branch '5422-graph_graduations_dark_mode' into 'main'

5422: fix graduations text color in darkmode on dashboard graph.

See merge request !116
parents dc7e217d 4482dec8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ class GraphHolder(val barChart: BarChart, val context: Context, val isMarkerAbov
            setDrawLabels(true)
            setCenterAxisLabels(false)
            setLabelCount(25, true)

            textColor = context.getColor(R.color.primary_text)
            valueFormatter = object : ValueFormatter() {
                override fun getAxisLabel(value: Float, axis: AxisBase?): String {
                    return graduations?.getOrNull(value.toInt() + 1) ?: ""
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ buildscript {
        'targetSdk' : 31,
        'version'   : [
            'major': 1,
            'minor': 8,
            'minor': 9,
            'patch': 0,
        ],
    ]