Unverified Commit acf3f3d8 authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

Fix 'are there any views available' check (#19231)

parent 02f4f32b
......@@ -636,7 +636,7 @@ abstract class ResidentRunner {
compileExpression: compileExpression);
await device.getVMs();
await device.waitForViews();
if (device.views == null)
if (device.views.isEmpty)
printStatus('No Flutter views available on ${device.device.name}');
else
viewFound = true;
......
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