Add desktop state/status filters
This commit is contained in:
parent
610fad1ff1
commit
cdb2a04485
|
|
@ -41,16 +41,16 @@ class TaskScreen extends StatelessWidget {
|
|||
final userCompany = store.state.userCompany;
|
||||
final localization = AppLocalization.of(context);
|
||||
final statuses = [
|
||||
if (!state.prefState.showKanban)
|
||||
TaskStatusEntity().rebuild((b) => b
|
||||
..id = kTaskStatusInvoiced
|
||||
..name = localization.invoiced),
|
||||
TaskStatusEntity().rebuild((b) => b
|
||||
..id = kTaskStatusLogged
|
||||
..name = localization.logged),
|
||||
TaskStatusEntity().rebuild((b) => b
|
||||
..id = kTaskStatusRunning
|
||||
..name = localization.running),
|
||||
if (!state.prefState.showKanban)
|
||||
TaskStatusEntity().rebuild((b) => b
|
||||
..id = kTaskStatusInvoiced
|
||||
..name = localization.invoiced),
|
||||
];
|
||||
|
||||
return ListScaffold(
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ dependencies:
|
|||
contacts_service: ^0.6.1
|
||||
super_editor: ^0.1.0
|
||||
diacritic: ^0.1.3
|
||||
states_rebuilder: ^5.2.0
|
||||
# bitsdojo_window: ^0.1.1+1
|
||||
# printing: ^5.6.3
|
||||
# quick_actions: ^0.2.1
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ dependencies:
|
|||
contacts_service: ^0.6.1
|
||||
super_editor: ^0.1.0
|
||||
diacritic: ^0.1.3
|
||||
states_rebuilder: ^5.2.0
|
||||
# bitsdojo_window: ^0.1.1+1
|
||||
# printing: ^5.6.3
|
||||
# quick_actions: ^0.2.1
|
||||
|
|
|
|||
Loading…
Reference in New Issue