Settings
This commit is contained in:
parent
b19f237fa1
commit
1032f3d300
|
|
@ -97,7 +97,7 @@ void main({bool isTesting = false}) async {
|
|||
final prefs = await SharedPreferences.getInstance();
|
||||
final enableDarkMode = prefs.getBool(kSharedPrefEnableDarkMode) ?? true;
|
||||
final longPressSelectionIsDefault =
|
||||
prefs.getBool(kSharedPrefLongPressSelectionIsDefault) ?? true;
|
||||
prefs.getBool(kSharedPrefLongPressSelectionIsDefault) ?? false;
|
||||
final requireAuthentication =
|
||||
prefs.getBool(kSharedPrefRequireAuthentication) ?? false;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
void initState() {
|
||||
super.initState();
|
||||
_focusNode = FocusScopeNode();
|
||||
_controller = TabController(vsync: this, length: 4);
|
||||
_controller = TabController(vsync: this, length: 2);
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
@ -105,12 +105,6 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
Tab(
|
||||
text: localization.invoiceOptions,
|
||||
),
|
||||
Tab(
|
||||
text: localization.invoiceFields,
|
||||
),
|
||||
Tab(
|
||||
text: localization.productFields,
|
||||
),
|
||||
],
|
||||
),
|
||||
body: AppTabForm(
|
||||
|
|
@ -258,8 +252,6 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
|||
),
|
||||
],
|
||||
),
|
||||
ListView(),
|
||||
ListView(),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue