mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 13:05:37 +02:00
fix: return fetched patch version if non default patch repo is used (#922)
This commit is contained in:
parent
c24a3828be
commit
f6e99f7e88
1 changed files with 1 additions and 2 deletions
|
@ -300,13 +300,12 @@ class ManagerAPI {
|
|||
if (isDefaultPatchesRepo()) {
|
||||
patchesVersion = await getLatestPatchesVersion();
|
||||
// print('Patches version: $patchesVersion');
|
||||
return patchesVersion ?? '0.0.0';
|
||||
} else {
|
||||
// fetch from github
|
||||
patchesVersion =
|
||||
await _githubAPI.getLastestReleaseVersion(getPatchesRepo());
|
||||
}
|
||||
return null;
|
||||
return patchesVersion ?? '0.0.0';
|
||||
}
|
||||
|
||||
Future<List<PatchedApplication>> getAppsToRemove(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue