Commit b096c57b authored by Danny Tuppeny's avatar Danny Tuppeny Committed by Danny Tuppeny

Remove launch status

It's too fast and leaves weird output on the screen
parent cec37ab4
...@@ -43,10 +43,8 @@ class AndroidEmulator extends Emulator { ...@@ -43,10 +43,8 @@ class AndroidEmulator extends Emulator {
@override @override
Future<bool> launch() async { Future<bool> launch() async {
final Status status = logger.startProgress('Launching $id...');
final RunResult launchResult = final RunResult launchResult =
await runAsync(<String>[getEmulatorPath(), '-avd', id]); await runAsync(<String>[getEmulatorPath(), '-avd', id]);
status.stop();
if (launchResult.exitCode != 0) { if (launchResult.exitCode != 0) {
printError( printError(
'Error: emulator exited with exit code ${launchResult.exitCode}'); 'Error: emulator exited with exit code ${launchResult.exitCode}');
......
...@@ -39,10 +39,8 @@ class IOSEmulator extends Emulator { ...@@ -39,10 +39,8 @@ class IOSEmulator extends Emulator {
@override @override
Future<bool> launch() async { Future<bool> launch() async {
final Status status = logger.startProgress('Launching $id...');
final RunResult launchResult = final RunResult launchResult =
await runAsync(<String>['open', '-a', getSimulatorPath()]); await runAsync(<String>['open', '-a', getSimulatorPath()]);
status.stop();
if (launchResult.exitCode != 0) { if (launchResult.exitCode != 0) {
printError( printError(
'Error: iOS simulator failed to launch with exit code ${launchResult.exitCode}'); 'Error: iOS simulator failed to launch with exit code ${launchResult.exitCode}');
......
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