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