mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Fixups (#2310)
Fixes #2301 --------- Co-authored-by: Brett Morgan <brett.morgan@gmail.com> Co-authored-by: Brett Morgan <brettmorgan@google.com>
This commit is contained in:
@@ -251,6 +251,7 @@ class PromptScreen extends StatelessWidget {
|
||||
child: MarketplaceButton(
|
||||
onPressed: () async {
|
||||
await viewModel.submitPrompt().then((_) async {
|
||||
if (!context.mounted) return;
|
||||
if (viewModel.recipe != null) {
|
||||
bool? shouldSave = await showDialog<bool>(
|
||||
context: context,
|
||||
|
||||
Reference in New Issue
Block a user