diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java index 18be286e1..95a1b76a4 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java @@ -310,7 +310,6 @@ public abstract class AbstractAppManagerFragment extends Fragment { public boolean onContextItemSelected(MenuItem item, GBDeviceApp selectedApp) { switch (item.getItemId()) { - case R.id.appmanager_health_deactivate: case R.id.appmanager_app_delete_cache: String baseName; try { @@ -354,6 +353,9 @@ public abstract class AbstractAppManagerFragment extends Fragment { case R.id.appmanager_health_activate: GBApplication.deviceService().onInstallApp(Uri.parse("fake://health")); return true; + case R.id.appmanager_health_deactivate: + GBApplication.deviceService().onAppDelete(selectedApp.getUUID()); + return true; case R.id.appmanager_app_configure: GBApplication.deviceService().onAppStart(selectedApp.getUUID(), true);