mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Fix duplicate entries on non-root installations
This commit is contained in:
parent
dd52c379b4
commit
3aa80cacc0
@ -212,7 +212,8 @@ class ManagerAPI {
|
|||||||
);
|
);
|
||||||
for (Application app in userApps) {
|
for (Application app in userApps) {
|
||||||
if (app.packageName.startsWith('app.revanced') &&
|
if (app.packageName.startsWith('app.revanced') &&
|
||||||
!app.packageName.startsWith('app.revanced.manager.')) {
|
!app.packageName.startsWith('app.revanced.manager.') &&
|
||||||
|
!patchedApps.any((uapp) => uapp.packageName == app.packageName)) {
|
||||||
ApplicationWithIcon? application =
|
ApplicationWithIcon? application =
|
||||||
await DeviceApps.getApp(app.packageName, true)
|
await DeviceApps.getApp(app.packageName, true)
|
||||||
as ApplicationWithIcon?;
|
as ApplicationWithIcon?;
|
||||||
|
Loading…
Reference in New Issue
Block a user