fix: Fix uninstall apps

This commit is contained in:
Alberto Ponces
2022-09-18 05:06:23 +01:00
parent 41ac2b0df8
commit 5a3884e159
2 changed files with 7 additions and 5 deletions

View File

@ -30,8 +30,9 @@ class AppInfoViewModel extends BaseViewModel {
}
}
} else {
DeviceApps.uninstallApp(app.packageName);
_managerAPI.deletePatchedApp(app);
DeviceApps.uninstallApp(app.packageName).then(
(value) => _managerAPI.deletePatchedApp(app),
);
}
}