mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
Fixed issue server info
This commit is contained in:
parent
1ae32467c6
commit
11a2784f3c
1 changed files with 2 additions and 2 deletions
|
@ -48,12 +48,12 @@ class _ServerInformationWidgetState extends State<ServerInformationWidget> {
|
|||
if (mounted) {
|
||||
if (result['result'] == 'success') {
|
||||
setState(() {
|
||||
serverInfo.loadStatus = LoadStatus.loaded;
|
||||
serverInfo.data = result['data'];
|
||||
serverInfo.loadStatus = LoadStatus.loaded;
|
||||
});
|
||||
}
|
||||
else {
|
||||
setState(() => serverInfo.loadStatus = LoadStatus.loaded);
|
||||
setState(() => serverInfo.loadStatus = LoadStatus.error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue