Unimplemented got thrown for null. Add it to the list so that lists with no items still work properly.
This commit is contained in:
1 parent
48615b3438
commit
f441caebf7
1 file changed
+3
@@ -153,6 +153,9 @@ class SummaryCardForTotals extends StatelessWidget {
|
||||
|
||||
/* Load page variables based on calculated totals. */
|
||||
switch (itemType) {
|
||||
case null:
|
||||
break;
|
||||
|
||||
case ItemType.asset:
|
||||
_assetTotal = monthlyTotal;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user