Fix 'are there any views available' check (#19231)
This commit is contained in:
committed by
GitHub
parent
02f4f32b5b
commit
acf3f3d839
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user