When using Ichaival, the Delete Archive does not work as expected and does not send a deletion request to the server.
Steps to Reproduce
Ensure that the LANraragi server is configured and accessible, with the API key set up correctly.
Open the Ichaival app and navigate to Details.
Click on the Delete Archive menu item.
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
Device: Android devices with versions 14 and 11
Device Language: Chinese
Server: LANraragi 0.9.0, deployed via Docker
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.
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
Details
.Delete Archive
menu item.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 thesetPositiveButton
of theAlertDialog.Builder
is not being executed.