mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-03 13:20:34 +00:00
Bugs fixed
This commit is contained in:
parent
c562e4841c
commit
329d2195a7
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ class Log {
|
||||||
elapsedMs: json["elapsedMs"],
|
elapsedMs: json["elapsedMs"],
|
||||||
question: Question.fromJson(json["question"]),
|
question: Question.fromJson(json["question"]),
|
||||||
reason: json["reason"],
|
reason: json["reason"],
|
||||||
rules: List<Rule>.from(json["rules"].map((x) => Rule.fromJson(x))),
|
rules: json["rules"] != null ? List<Rule>.from(json["rules"].map((x) => Rule.fromJson(x))) : [],
|
||||||
status: json["status"],
|
status: json["status"],
|
||||||
time: DateTime.parse(json["time"]),
|
time: DateTime.parse(json["time"]),
|
||||||
upstream: json["upstream"],
|
upstream: json["upstream"],
|
||||||
|
|
|
@ -43,7 +43,7 @@ class ServerInfoData {
|
||||||
dnsPort: json["dns_port"],
|
dnsPort: json["dns_port"],
|
||||||
httpPort: json["http_port"],
|
httpPort: json["http_port"],
|
||||||
protectionEnabled: json["protection_enabled"],
|
protectionEnabled: json["protection_enabled"],
|
||||||
dhcpAvailable: json["dhcp_available"],
|
dhcpAvailable: json["dhcp_available"] ?? false,
|
||||||
running: json["running"],
|
running: json["running"],
|
||||||
version: json["version"],
|
version: json["version"],
|
||||||
language: json["language"],
|
language: json["language"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue