Commit 4bc70c9e authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Fix minor misspellings in comments. (#5641)

parent 4db096ab
...@@ -55,7 +55,7 @@ void main() { ...@@ -55,7 +55,7 @@ void main() {
// Regression test for https://github.com/flutter/flutter/pull/5168 // Regression test for https://github.com/flutter/flutter/pull/5168
testWidgets('Pesto appbar heroics', (WidgetTester tester) async { testWidgets('Pesto appbar heroics', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
// The bug only manifests itself when the screen's orientation is portait // The bug only manifests itself when the screen's orientation is portrait
new Center( new Center(
child: new SizedBox( child: new SizedBox(
width: 400.0, width: 400.0,
......
...@@ -52,7 +52,7 @@ class _HelloServicesState extends State<HelloServices> { ...@@ -52,7 +52,7 @@ class _HelloServicesState extends State<HelloServices> {
final Map<String, dynamic> reply = await HostMessages.sendJSON('getLocation', message); final Map<String, dynamic> reply = await HostMessages.sendJSON('getLocation', message);
// If the widget was removed from the tree while the message was in flight, // If the widget was removed from the tree while the message was in flight,
// we want to discard the reply rather than calling setState to update our // we want to discard the reply rather than calling setState to update our
// non-existant appearance. // non-existent appearance.
if (!mounted) if (!mounted)
return; return;
setState(() { setState(() {
......
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