Skip to content
Snippets Groups Projects
Commit cc1ac5de authored by Leon Tappe's avatar Leon Tappe :fire:
Browse files

assert absolute value for toner indicator

parent 312f227f
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class TonerIndicator extends StatelessWidget {
Align(
alignment: Alignment.centerLeft,
child: Container(
width: (value ?? 0) / 100 * width,
width: ((value ?? 0) / 100 * width).abs(),
color: color,
),
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment