Display the list of expenses
This commit is contained in:
@@ -54,7 +54,7 @@ class ExpenseEditor extends HookConsumerWidget {
|
||||
|
||||
pending.value = onFinished(
|
||||
BaseExpenseInfo(
|
||||
label: labelController.text,
|
||||
label: labelController.text.isEmpty ? null : labelController.text,
|
||||
cost: double.tryParse(costController.text) ?? 0,
|
||||
time: timeController.value,
|
||||
),
|
||||
|
Reference in New Issue
Block a user