From 4771de1a339f0bd26dfb1dbb50cde4332b8c10bf Mon Sep 17 00:00:00 2001 From: Benimautner Date: Mon, 22 Jul 2024 00:45:17 +0200 Subject: [PATCH] chore: dart format --- lib/pages/project/task_edit.dart | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/lib/pages/project/task_edit.dart b/lib/pages/project/task_edit.dart index af78c81..db412ec 100644 --- a/lib/pages/project/task_edit.dart +++ b/lib/pages/project/task_edit.dart @@ -156,15 +156,14 @@ class _TaskEditPageState extends State { Navigator.push( context, MaterialPageRoute( - builder: (buildContext) => - EditDescription( + builder: (buildContext) => EditDescription( initialText: _description, )), ).then((description) => setState(() { - if (description != null) - _description = description; - _changed = true; - })); + if (description != null) + _description = description; + _changed = true; + })); }, child: Row( children: [ @@ -175,10 +174,9 @@ class _TaskEditPageState extends State { color: Colors.grey, )), Flexible( - child: HtmlWidget(_description != null - ? _description! - : "No description"), - + child: HtmlWidget(_description != null + ? _description! + : "No description"), ), ], ),