Don't show last bullet if there's no label
This commit is contained in:
committed by
Danny Tuppeny
parent
e9281c4ac0
commit
9eb3bf5ed5
@@ -126,7 +126,7 @@ abstract class Emulator {
|
||||
return table.map((List<String> row) {
|
||||
return indices
|
||||
.map((int i) => row[i].padRight(widths[i]))
|
||||
.join(' • ') + ' • ${row.last}';
|
||||
.join(' • ') + (row.last != '' ? ' • ${row.last}' : '');
|
||||
}).toList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user