mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Added cache configuration and changed added client validation
This commit is contained in:
parent
569ab7d569
commit
313b76740a
11 changed files with 302 additions and 167 deletions
|
@ -7,12 +7,12 @@ class SettingsTile extends StatelessWidget {
|
|||
final bool useGlobalSettingsFiltering;
|
||||
|
||||
const SettingsTile({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.label,
|
||||
required this.value,
|
||||
this.onChange,
|
||||
required this.useGlobalSettingsFiltering
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -23,10 +23,7 @@ class SettingsTile extends StatelessWidget {
|
|||
? value != null ? () => onChange!(!value!) : null
|
||||
: null,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 42,
|
||||
vertical: 5
|
||||
),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 32, vertical: 6),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue