mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Add unawaited_futures (#1148)
This commit is contained in:
@@ -79,7 +79,7 @@ class _BookstoreNavigatorState extends State<BookstoreNavigator> {
|
||||
var signedIn = await authState.signIn(
|
||||
credentials.username, credentials.password);
|
||||
if (signedIn) {
|
||||
routeState.go('/books/popular');
|
||||
await routeState.go('/books/popular');
|
||||
}
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user