mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-11 00:49:36 +00:00
Fixed some bugs
This commit is contained in:
parent
7579e2d580
commit
7bb7ad40c4
8 changed files with 28 additions and 15 deletions
|
@ -138,7 +138,7 @@ class _StatisticsSettingsState extends State<StatisticsSettings> {
|
|||
"enabled": _generalSwitch,
|
||||
"interval": _retentionTime == "custom"
|
||||
? Duration(hours: int.parse(_customTimeController.text)).inMilliseconds
|
||||
: int.parse(_retentionTime!),
|
||||
: int.parse(_retentionTime ?? _retentionItems[0]),
|
||||
"ignored": _ignoredDomainsControllers.map((e) => e.controller.text).toList()
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue