Settings
This commit is contained in:
parent
0f4c7c65b4
commit
3f33299575
|
|
@ -53,7 +53,6 @@ class _CustomFieldsState extends State<CustomFields>
|
|||
appBarBottom: TabBar(
|
||||
key: ValueKey(state.settingsUIState.updatedAt),
|
||||
controller: _controller,
|
||||
//isScrollable: true,
|
||||
tabs: [
|
||||
Tab(
|
||||
text: localization.company,
|
||||
|
|
|
|||
|
|
@ -130,18 +130,16 @@ class SettingsList extends StatelessWidget {
|
|||
viewModel: viewModel,
|
||||
icon: FontAwesomeIcons.heading,
|
||||
),
|
||||
SettingsListTile(
|
||||
section: kSettingsWorkflowSettings,
|
||||
viewModel: viewModel,
|
||||
icon: FontAwesomeIcons.codeBranch,
|
||||
),
|
||||
/*
|
||||
SettingsListTile(
|
||||
section: kSettingsInvoiceDesign,
|
||||
viewModel: viewModel,
|
||||
icon: FontAwesomeIcons.paintBrush,
|
||||
),
|
||||
*/
|
||||
SettingsListTile(
|
||||
section: kSettingsWorkflowSettings,
|
||||
viewModel: viewModel,
|
||||
icon: FontAwesomeIcons.codeBranch,
|
||||
),
|
||||
SettingsListTile(
|
||||
section: kSettingsClientPortal,
|
||||
viewModel: viewModel,
|
||||
|
|
|
|||
|
|
@ -93,13 +93,13 @@ class _WorkflowSettingsState extends State<WorkflowSettings>
|
|||
padding: const EdgeInsets.all(10),
|
||||
children: <Widget>[
|
||||
SwitchListTile(
|
||||
secondary: Icon(FontAwesomeIcons.solidEnvelope),
|
||||
secondary: Icon(FontAwesomeIcons.fileInvoice),
|
||||
activeColor: Theme.of(context).accentColor,
|
||||
title: Text(localization.autoConvertQuote),
|
||||
subtitle: Text(localization.autoConvertQuoteHelp),
|
||||
value: settings.autoConvertQuote ?? false,
|
||||
onChanged: (value) => viewModel.onSettingsChanged(
|
||||
settings.rebuild((b) => b..autoEmailInvoice = value)),
|
||||
settings.rebuild((b) => b..autoConvertQuote = value)),
|
||||
),
|
||||
SwitchListTile(
|
||||
secondary: Icon(FontAwesomeIcons.archive),
|
||||
|
|
|
|||
Loading…
Reference in New Issue