Add, update, and delete are all working for each item type!!

This commit is contained in:
2025-03-07 13:32:11 -07:00
parent 8d7591b766
commit 84f1ec2f70
2 changed files with 6 additions and 5 deletions
+3
View File
@@ -34,6 +34,7 @@ class _HomePageState extends State<HomePage> {
case 0:
page = TrackedItemPage(
assetsToLoad: DatabaseHelper.instance.getExpenses(),
notifyParent: refresh,
);
dialog = TrackedItemInputDialog(
notifyParent: refresh,
@@ -43,6 +44,7 @@ class _HomePageState extends State<HomePage> {
case 1:
page = TrackedItemPage(
assetsToLoad: DatabaseHelper.instance.getIncomes(),
notifyParent: refresh,
);
dialog = TrackedItemInputDialog(
notifyParent: refresh,
@@ -52,6 +54,7 @@ class _HomePageState extends State<HomePage> {
case 2:
page = TrackedItemPage(
assetsToLoad: DatabaseHelper.instance.getAssets(),
notifyParent: refresh,
);
dialog = TrackedItemInputDialog(
notifyParent: refresh,