Commit c47069a6 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Tiny improvement to flutter doctor output on Windows. (#7629)

Follow-up to #7625
parent aaaf0dac
...@@ -124,7 +124,7 @@ class Doctor { ...@@ -124,7 +124,7 @@ class Doctor {
else else
printStatus('${result.leadingBox} ${validator.title}'); printStatus('${result.leadingBox} ${validator.title}');
final String separator = Platform.isWindows ? ' ' : '•'; final String separator = '•';
for (ValidationMessage message in result.messages) { for (ValidationMessage message in result.messages) {
String text = message.message.replaceAll('\n', '\n '); String text = message.message.replaceAll('\n', '\n ');
...@@ -182,7 +182,7 @@ class ValidationResult { ...@@ -182,7 +182,7 @@ class ValidationResult {
if (type == ValidationType.missing) if (type == ValidationType.missing)
return '[x]'; return '[x]';
else if (type == ValidationType.installed) else if (type == ValidationType.installed)
return Platform.isWindows ? '[+]' : '[✓]'; return Platform.isWindows ? '[]' : '[✓]';
else else
return '[-]'; return '[-]';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment