Remove environment variable guards for command line desktop and web (#33867)

This commit is contained in:
Jonah Williams
2019-06-19 13:39:27 -07:00
committed by GitHub
parent 42d8383c9e
commit 0d9a1b201e
11 changed files with 64 additions and 30 deletions

View File

@@ -21,10 +21,10 @@ class LinuxWorkflow implements Workflow {
bool get appliesToHostPlatform => platform.isLinux;
@override
bool get canLaunchDevices => flutterDesktopEnabled;
bool get canLaunchDevices => platform.isLinux && flutterDesktopEnabled;
@override
bool get canListDevices => flutterDesktopEnabled;
bool get canListDevices => platform.isLinux && flutterDesktopEnabled;
@override
bool get canListEmulators => false;