mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-22 01:34:25 +00:00
Added log generation for all requests
This commit is contained in:
parent
82e8b0d9d3
commit
511f86e336
11 changed files with 39 additions and 11 deletions
|
@ -63,6 +63,7 @@ class ClientsFab extends StatelessWidget {
|
|||
);
|
||||
}
|
||||
else if (result['result'] == 'error' && result['message'] == 'client_another_list') {
|
||||
appConfigProvider.addLog(result['log']);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(AppLocalizations.of(context)!.clientAnotherList),
|
||||
|
@ -71,6 +72,7 @@ class ClientsFab extends StatelessWidget {
|
|||
);
|
||||
}
|
||||
else {
|
||||
appConfigProvider.addLog(result['log']);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(AppLocalizations.of(context)!.clientNotAdded),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue