Add task and expense tabs to dashboard
This commit is contained in:
parent
a20ac9e77e
commit
77fc1e09d7
|
|
@ -382,7 +382,7 @@ class ExpenseSidbar extends StatelessWidget {
|
||||||
state.dashboardUIState.selectedEntities[EntityType.expense];
|
state.dashboardUIState.selectedEntities[EntityType.expense];
|
||||||
|
|
||||||
return _DashboardSidebar(
|
return _DashboardSidebar(
|
||||||
entityType: EntityType.quote,
|
entityType: EntityType.expense,
|
||||||
label1: localization.upcomingExpenses +
|
label1: localization.upcomingExpenses +
|
||||||
(upcomingExpenses.isNotEmpty ? ' (${upcomingExpenses.length})' : ''),
|
(upcomingExpenses.isNotEmpty ? ' (${upcomingExpenses.length})' : ''),
|
||||||
list1: upcomingExpenses.isEmpty
|
list1: upcomingExpenses.isEmpty
|
||||||
|
|
@ -415,7 +415,7 @@ class ExpenseSidbar extends StatelessWidget {
|
||||||
),
|
),
|
||||||
label3: (selectedIds ?? <String>[]).isEmpty
|
label3: (selectedIds ?? <String>[]).isEmpty
|
||||||
? null
|
? null
|
||||||
: localization.selectedTasks + ' (${selectedIds.length})',
|
: localization.selectedExpenses + ' (${selectedIds.length})',
|
||||||
list3: (selectedIds ?? <String>[]).isEmpty
|
list3: (selectedIds ?? <String>[]).isEmpty
|
||||||
? null
|
? null
|
||||||
: ListView.separated(
|
: ListView.separated(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue