Fix NPE when editing a budget
This commit is contained in:
parent
6e3329b9f4
commit
0863878ebc
@ -41,7 +41,7 @@ class BudgetListPage extends StatelessWidget {
|
|||||||
context: context,
|
context: context,
|
||||||
builder:
|
builder:
|
||||||
(_) => EditBudgetPopup(
|
(_) => EditBudgetPopup(
|
||||||
budget: state.activeBudget!,
|
budget: state.budgets[index],
|
||||||
onDone: () {
|
onDone: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user