Fix powerbar is not redrawn in route progress mode

This commit is contained in:
Tim Kluge 2025-05-27 22:35:38 +02:00
parent 3e1fa2169b
commit 65e7ea4d14

View File

@ -209,6 +209,7 @@ class Window(
powerbar.progressColor = context.getColor(R.color.zone0) powerbar.progressColor = context.getColor(R.color.zone0)
powerbar.progress = routeProgress powerbar.progress = routeProgress
powerbar.label = "$routeProgressInUserUnit" powerbar.label = "$routeProgressInUserUnit"
powerbar.invalidate()
} }
} }