perf: Reduce amount of shell commands

This commit is contained in:
oSumAtrIX
2023-12-23 19:02:09 +01:00
parent 8a1ab478a3
commit 5b1c89a0c5
3 changed files with 33 additions and 39 deletions

View File

@ -29,7 +29,7 @@ class AppInfoViewModel extends BaseViewModel {
if (app.isRooted) {
final bool hasRootPermissions = await _rootAPI.hasRootPermissions();
if (hasRootPermissions) {
await _rootAPI.unmount(
await _rootAPI.uninstall(
app.packageName,
);
if (!onlyUnpatch) {