We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d8615 commit 382ee4bCopy full SHA for 382ee4b
packages/flutter_tools/lib/src/doctor.dart
@@ -542,7 +542,12 @@ class DeviceValidator extends DoctorValidator {
542
messages = await Device.descriptions(devices)
543
.map((String msg) => new ValidationMessage(msg)).toList();
544
}
545
- return new ValidationResult(devices.isEmpty ? ValidationType.partial : ValidationType.installed, messages);
+
546
+ if (devices.isEmpty) {
547
+ return new ValidationResult(ValidationType.partial, messages);
548
+ } else {
549
+ return new ValidationResult(ValidationType.installed, messages, statusInfo: '${devices.length} available');
550
+ }
551
552
553
0 commit comments