Skip to content

Commit

Permalink
chore: dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
Benimautner committed Jul 21, 2024
1 parent 99cb55b commit 4771de1
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions lib/pages/project/task_edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,14 @@ class _TaskEditPageState extends State<TaskEditPage> {
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: [
Expand All @@ -175,10 +174,9 @@ class _TaskEditPageState extends State<TaskEditPage> {
color: Colors.grey,
)),
Flexible(
child: HtmlWidget(_description != null
? _description!
: "No description"),

child: HtmlWidget(_description != null
? _description!
: "No description"),
),
],
),
Expand Down

0 comments on commit 4771de1

Please sign in to comment.