This reverts commit bd52a78c71.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
import '../base/context.dart';
|
||||
import '../base/platform.dart';
|
||||
import '../desktop.dart';
|
||||
import '../doctor.dart';
|
||||
import '../features.dart';
|
||||
|
||||
/// The [WindowsWorkflow] instance.
|
||||
LinuxWorkflow get linuxWorkflow => context.get<LinuxWorkflow>();
|
||||
@@ -18,13 +18,13 @@ class LinuxWorkflow implements Workflow {
|
||||
const LinuxWorkflow();
|
||||
|
||||
@override
|
||||
bool get appliesToHostPlatform => platform.isLinux && featureFlags.isLinuxEnabled;
|
||||
bool get appliesToHostPlatform => platform.isLinux;
|
||||
|
||||
@override
|
||||
bool get canLaunchDevices => platform.isLinux && featureFlags.isLinuxEnabled;
|
||||
bool get canLaunchDevices => platform.isLinux && flutterDesktopEnabled;
|
||||
|
||||
@override
|
||||
bool get canListDevices => platform.isLinux && featureFlags.isLinuxEnabled;
|
||||
bool get canListDevices => platform.isLinux && flutterDesktopEnabled;
|
||||
|
||||
@override
|
||||
bool get canListEmulators => false;
|
||||
|
||||
Reference in New Issue
Block a user