Skip to content

Commit

Permalink
Fix 'are there any views available' check (flutter#19231)
Browse files Browse the repository at this point in the history
  • Loading branch information
aam authored Jul 11, 2018
1 parent 02f4f32 commit acf3f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/resident_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit acf3f3d

Please sign in to comment.