Show new settings
This commit is contained in:
parent
685834beb5
commit
36a028ec7c
|
|
@ -116,7 +116,7 @@ class _ListFilterState extends State<ListFilter> {
|
||||||
children: [
|
children: [
|
||||||
if (widget.entityType == EntityType.settings)
|
if (widget.entityType == EntityType.settings)
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(right: 16),
|
padding: const EdgeInsets.only(right: 10),
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
padding: const EdgeInsets.only(right: 8),
|
padding: const EdgeInsets.only(right: 8),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,24 @@ class ListScaffold extends StatelessWidget {
|
||||||
if (!isSettings &&
|
if (!isSettings &&
|
||||||
(isMobile(context) || !state.prefState.isHistoryVisible))
|
(isMobile(context) || !state.prefState.isHistoryVisible))
|
||||||
Builder(builder: (context) {
|
Builder(builder: (context) {
|
||||||
|
return Padding(
|
||||||
|
padding: const EdgeInsets.only(right: 8),
|
||||||
|
child: IconButton(
|
||||||
|
padding: const EdgeInsets.only(right: 8),
|
||||||
|
onPressed: () {
|
||||||
|
if (isMobile(context) ||
|
||||||
|
state.prefState.isHistoryFloated) {
|
||||||
|
Scaffold.of(context).openEndDrawer();
|
||||||
|
} else {
|
||||||
|
store.dispatch(UpdateUserPreferences(
|
||||||
|
sidebar: AppSidebar.history));
|
||||||
|
}
|
||||||
|
},
|
||||||
|
icon: Icon(
|
||||||
|
Icons.history,
|
||||||
|
color: state.headerTextColor,
|
||||||
|
)),
|
||||||
|
);
|
||||||
return InkWell(
|
return InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
if (isMobile(context) ||
|
if (isMobile(context) ||
|
||||||
|
|
@ -171,7 +189,7 @@ class ListScaffold extends StatelessWidget {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12),
|
padding: const EdgeInsets.only(right: 20, left: 6),
|
||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.history,
|
Icons.history,
|
||||||
color: state.headerTextColor,
|
color: state.headerTextColor,
|
||||||
|
|
|
||||||
|
|
@ -340,7 +340,7 @@ class SettingsSearch extends StatelessWidget {
|
||||||
'quote_footer',
|
'quote_footer',
|
||||||
'credit_terms',
|
'credit_terms',
|
||||||
'credit_footer',
|
'credit_footer',
|
||||||
'use_quote_terms',
|
'use_quote_terms#2022-05-17',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'default_documents',
|
'default_documents',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue