mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-12 05:25:36 +02:00
feat: Show a dialog when an update is available (#1654)
This commit is contained in:
parent
7104d6d6dd
commit
c7d975e612
10 changed files with 302 additions and 190 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue