mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Fixed db create issue
This commit is contained in:
parent
525facc538
commit
210606306a
2 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ class ServersProvider with ChangeNotifier {
|
|||
final result = await client!.checkServerUpdates();
|
||||
if (result['result'] == 'success') {
|
||||
UpdateAvailableData data = UpdateAvailableData.fromJson(result['data']);
|
||||
final gitHubResult = await client!.getUpdateChangelog(releaseTag: data.newVersion ?? data.currentVersion);
|
||||
final gitHubResult = await client.getUpdateChangelog(releaseTag: data.newVersion ?? data.currentVersion);
|
||||
if (gitHubResult['result'] == 'success') {
|
||||
data.changelog = gitHubResult['body'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue