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:
@@ -139,7 +139,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
|
||||
},
|
||||
);
|
||||
if (destinationProfileType == ProfileType.newProfile) {
|
||||
showDialog<String>(
|
||||
await showDialog<String>(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return _NewProfileDialog(rule: rule);
|
||||
@@ -147,7 +147,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
|
||||
);
|
||||
} else if (destinationProfileType ==
|
||||
ProfileType.existingProfile) {
|
||||
showDialog<String>(
|
||||
await showDialog<String>(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return _ExistingProfileDialog(rule: rule);
|
||||
|
||||
Reference in New Issue
Block a user