mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 11:13:31 +00:00
Fix editor screen shouldn't allow going home while submitting.
This commit is contained in:
parent
8c28e3dfd3
commit
bca5f16f36
1 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue