mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-25 11:22:23 +00:00
Fixed issue with filters management
This commit is contained in:
parent
6a5e161fcb
commit
f6b890539e
2 changed files with 6 additions and 6 deletions
|
@ -191,7 +191,7 @@ class ServersProvider with ChangeNotifier {
|
|||
if (result['result'] == 'success') {
|
||||
_serverStatus.data!.generalEnabled = newStatus;
|
||||
notifyListeners();
|
||||
return true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
notifyListeners();
|
||||
|
@ -209,7 +209,7 @@ class ServersProvider with ChangeNotifier {
|
|||
if (result['result'] == 'success') {
|
||||
_serverStatus.data!.filteringEnabled = newStatus;
|
||||
notifyListeners();
|
||||
return true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
|
||||
|
@ -228,7 +228,7 @@ class ServersProvider with ChangeNotifier {
|
|||
if (result['result'] == 'success') {
|
||||
_serverStatus.data!.safeSearchEnabled = newStatus;
|
||||
notifyListeners();
|
||||
return true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
notifyListeners();
|
||||
|
@ -246,7 +246,7 @@ class ServersProvider with ChangeNotifier {
|
|||
if (result['result'] == 'success') {
|
||||
_serverStatus.data!.safeBrowsingEnabled = newStatus;
|
||||
notifyListeners();
|
||||
return true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
notifyListeners();
|
||||
|
@ -264,7 +264,7 @@ class ServersProvider with ChangeNotifier {
|
|||
if (result['result'] == 'success') {
|
||||
_serverStatus.data!.parentalControlEnabled = newStatus;
|
||||
notifyListeners();
|
||||
return true;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
notifyListeners();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue