feat: Show a dialog when an update is available (#1654)

This commit is contained in:
aAbed 2024-01-25 23:05:34 +05:45 committed by aAbed
parent 7104d6d6dd
commit c7d975e612
No known key found for this signature in database
GPG key ID: F26611AB3F996827
10 changed files with 302 additions and 190 deletions

View file

@ -81,7 +81,7 @@ class GithubAPI {
int updates = 0;
final String currentVersion =
await _managerAPI.getCurrentManagerVersion();
while (response.data[updates]['tag_name'] != 'v$currentVersion') {
while (response.data[updates]['tag_name'] != currentVersion) {
updates++;
}
for (int i = 1; i < updates; i++) {