From 05a57e8203d19a26685a4cb205cf59459d590cfb Mon Sep 17 00:00:00 2001 From: Felix Date: Mon, 19 Aug 2019 13:50:30 +0100 Subject: [PATCH] fixing Dispose() errors some widgets aren't loading and disposing properly --- lib/common/widgets/organisations_dialog.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/common/widgets/organisations_dialog.dart b/lib/common/widgets/organisations_dialog.dart index d374f8f..30b79b5 100644 --- a/lib/common/widgets/organisations_dialog.dart +++ b/lib/common/widgets/organisations_dialog.dart @@ -106,9 +106,11 @@ class FindOrganisations { builder: (BuildContext context) { return StatefulBuilder( builder: (context, setState) { - return AnimatedContainer( - duration: Duration(seconds: 1), - child : SimpleDialog( + return +// AnimatedContainer( +// duration: Duration(seconds: 1), +// child : + SimpleDialog( children: [ Column( children: [ @@ -217,14 +219,14 @@ class FindOrganisations { ), ), ), - ] : [ Container(), ], + ] : [ Container() ], ), // help button for if org not listed // cancel and ok buttons ], - ), +// ), ); }, );