mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 13:05:37 +02:00
feat: show patch bundle version in patch selector screen.
This commit is contained in:
parent
5b38c9442a
commit
074d8005bc
3 changed files with 36 additions and 0 deletions
|
@ -228,6 +228,13 @@ class ManagerAPI {
|
|||
);
|
||||
}
|
||||
|
||||
Future<String?> getLatestPatchesVersion() async {
|
||||
return await _revancedAPI.getLatestReleaseVersion(
|
||||
'.json',
|
||||
defaultPatchesRepo,
|
||||
);
|
||||
}
|
||||
|
||||
Future<String> getCurrentManagerVersion() async {
|
||||
PackageInfo packageInfo = await PackageInfo.fromPlatform();
|
||||
return packageInfo.version;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue