Unverified Commit 31156aed authored by Konstantin Scheglov's avatar Konstantin Scheglov Committed by GitHub

We can launch if the flutter-tester device is enabled. (#17019)

parent bf3bd766
......@@ -21,6 +21,7 @@ import 'globals.dart';
import 'intellij/intellij.dart';
import 'ios/ios_workflow.dart';
import 'ios/plist_utils.dart';
import 'tester/flutter_tester.dart';
import 'version.dart';
import 'vscode/vscode_validator.dart';
......@@ -191,7 +192,11 @@ class Doctor {
bool get canListAnything => workflows.any((Workflow workflow) => workflow.canListDevices);
bool get canLaunchAnything => workflows.any((Workflow workflow) => workflow.canLaunchDevices);
bool get canLaunchAnything {
if (FlutterTesterDevices.showFlutterTesterDevice)
return true;
return workflows.any((Workflow workflow) => workflow.canLaunchDevices);
}
}
/// A series of tools and required install steps for a target platform (iOS or Android).
......
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