Skip to content

Commit 64805fe

Browse files
authored
Remove unneeded return (#950)
1 parent 308c6ff commit 64805fe

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

add_to_app/books/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Mimics a real world use-case of embedding Flutter into an existing Android app
44
and demonstrates using [Pigeon](https://pub.dev/packages/pigeon) to communicate
5-
between Fluter and the host application.
5+
between Flutter and the host application.
66

77
## Description
88

add_to_app/books/flutter_module_books/lib/api.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ class HostBookApi {
165165
message: error['message'] as String?,
166166
details: error['details'],
167167
);
168-
} else {
169-
return;
170168
}
171169
}
172170

@@ -190,8 +188,6 @@ class HostBookApi {
190188
message: error['message'] as String?,
191189
details: error['details'],
192190
);
193-
} else {
194-
return;
195191
}
196192
}
197193
}

place_tracker/lib/stub_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class StubData {
147147

148148
static const reviewStrings = <String>[
149149
'My favorite place in Portland. The employees are wonderful and so is the food. I go here at least once a month!',
150-
'Staff was very friendly. Great atmosphere and good music. Would reccommend.',
150+
'Staff was very friendly. Great atmosphere and good music. Would recommend.',
151151
'Best. Place. In. Town. Period.'
152152
];
153153
}

0 commit comments

Comments
 (0)