mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 12:47:37 +02:00
feat: fix list contributors and add patched apps changelog (wip)
This commit is contained in:
@ -32,5 +32,6 @@ class ContributorsViewModel extends BaseViewModel {
|
||||
ghOrg,
|
||||
managerRepo,
|
||||
);
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
@ -65,9 +65,9 @@ class HomeViewModel extends BaseViewModel {
|
||||
if (latestVersion != null) {
|
||||
try {
|
||||
int latestVersionInt =
|
||||
int.parse(latestVersion.replaceFirst('v', '').replaceAll('.', ''));
|
||||
int.parse(latestVersion.replaceAll(RegExp('[^0-9]'), ''));
|
||||
int currentVersionInt =
|
||||
int.parse(currentVersion.replaceFirst('v', '').replaceAll('.', ''));
|
||||
int.parse(currentVersion.replaceAll(RegExp('[^0-9]'), ''));
|
||||
return latestVersionInt > currentVersionInt;
|
||||
} on Exception {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user