Utazukin / Ichaival

Android client for the LANraragi manga/doujinshi web manager.
GNU General Public License v3.0
161 stars 10 forks source link

"Delete Archive" does not work #59

Closed tuip123 closed 1 month ago

tuip123 commented 2 months ago

Summary

When using Ichaival, the Delete Archive does not work as expected and does not send a deletion request to the server.

Steps to Reproduce

  1. Ensure that the LANraragi server is configured and accessible, with the API key set up correctly.
  2. Open the Ichaival app and navigate to Details.
  3. Click on the Delete Archive menu item.
  4. When the confirmation popup appears, select Yes.

Expected Behavior

The gallery item should be deleted, and a deletion request should be sent to the server.

Actual Behavior

The gallery item is not deleted, and no deletion request is sent to the server despite the confirmation.

Environment

Additional Information

I can access the LANraragi server and view manga without issues, and other API functions work as expected. The problem occurs only with the Delete Archive function.

Notes

I am not sure if the Select Archives and deleting multiple archives have the same issue. After briefly looking into the code, it seems that the launch block within the setPositiveButton of the AlertDialog.Builder is not being executed.