Enable new task settings

This commit is contained in:
Hillel Coren 2023-06-06 13:17:13 +03:00
parent 178d84ac8b
commit 08df377ddb
2 changed files with 3 additions and 3 deletions

View File

@ -457,7 +457,7 @@ class SettingsSearch extends StatelessWidget {
'invoice_task_hours#2023-01-19',
'allow_billable_task_items#2023-03-22',
'show_task_item_description#2023-03-22',
if (false) 'project_location#2023-06-01',
'project_location#2023-06-06',
],
],
kSettingsTaskStatuses: [

View File

@ -178,7 +178,7 @@ class _TaskSettingsState extends State<TaskSettings> {
onChanged: (value) => viewModel.onCompanyChanged(
company.rebuild((b) => b..invoiceTaskHours = value)),
),
if (false && settings.showTaskItemDescription == true)
if (settings.showTaskItemDescription == true)
SwitchListTile(
activeColor: Theme.of(context).colorScheme.secondary,
title: Text(localization.invoiceTaskItemDescription),
@ -195,7 +195,7 @@ class _TaskSettingsState extends State<TaskSettings> {
onChanged: (value) => viewModel.onCompanyChanged(
company.rebuild((b) => b..invoiceTaskProject = value)),
),
if (false && company.invoiceTaskProject) ...[
if (company.invoiceTaskProject) ...[
SizedBox(height: 10),
AppDropdownButton<bool>(
labelText: localization.projectLocation,