mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-28 13:21:03 +00:00
feat: fix list contributors and add patched apps changelog (wip)
This commit is contained in:
@@ -27,12 +27,15 @@ class RootAPI {
|
||||
);
|
||||
if (res != null) {
|
||||
List<String> apps = res.split('\n');
|
||||
List<String> toRemove = [];
|
||||
for (String packageName in apps) {
|
||||
bool isInstalled = await isAppInstalled(packageName);
|
||||
if (!isInstalled) {
|
||||
apps.remove(packageName);
|
||||
toRemove.add(packageName);
|
||||
}
|
||||
}
|
||||
apps.removeWhere((a) => toRemove.contains(a));
|
||||
return apps;
|
||||
}
|
||||
} on Exception {
|
||||
return List.empty();
|
||||
|
||||
Reference in New Issue
Block a user