Fix editor screen shouldn't allow going home while submitting.

main
Hank Grabowski 2023-11-24 22:55:44 -05:00
rodzic 8c28e3dfd3
commit bca5f16f36
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -310,8 +310,11 @@ class _EditorScreenState extends State<EditorScreen> {
return Scaffold(
appBar: StandardAppBar.build(
context, widget.id.isEmpty ? 'New $statusType' : 'Edit $statusType',
withDrawer: true),
context,
widget.id.isEmpty ? 'New $statusType' : 'Edit $statusType',
withDrawer: true,
withHome: !isSubmitting,
),
body: body,
);
}