Skip to content

Commit 770f8bf

Browse files
author
skybird23333
committed
Homepage: Updated create project button
1 parent 0bd36b6 commit 770f8bf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/homepage.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,6 @@ class _HomePageState extends State<HomePage> {
403403
onPressed: () {},
404404
child: const Text("Add"),
405405
),
406-
ElevatedButton(
407-
onPressed: () => showCreateProjectDialog(),
408-
child: const Text("New")),
409406
]),
410407
Column(
411408
children: projectsWidgets,
@@ -425,6 +422,10 @@ class _HomePageState extends State<HomePage> {
425422
],
426423
),
427424
body: SingleChildScrollView(child: page),
425+
floatingActionButton: FloatingActionButton(
426+
onPressed: () => showCreateProjectDialog(),
427+
child: const Icon(Icons.create_new_folder)
428+
)
428429
);
429430
}
430431
}

0 commit comments

Comments
 (0)