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

show error strings for printer status

parent dd7dda3a
No related branches found
No related tags found
No related merge requests found
......@@ -337,13 +337,17 @@ class _PrinterDetailsPageState extends State<PrinterDetailsPage> {
ListTile(
title: Text('Scanner'),
trailing: Text(
_printer.status.scan == 0 ? 'Aktiv' : 'Fehler',
_printer.status.scan == 0
? 'Aktiv'
: _printer.status.scanStatus.join(', '),
style: Theme.of(context).textTheme.subtitle1,
)),
ListTile(
title: Text('Kopierer'),
trailing: Text(
_printer.status.copy == 0 ? 'Aktiv' : 'Fehler',
_printer.status.copy == 0
? 'Aktiv'
: _printer.status.copyStatus.join(', '),
style: Theme.of(context).textTheme.subtitle1,
)),
ListTile(
......
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