this post was submitted on 15 Feb 2025
5 points (85.7% liked)

Arctic

504 readers
20 users here now

Arctic is a Lemmy client for iOS built on pure Swift. It currently supports iOS 15+ and Lemmy v0.17+

Get the latest version on TestFlight, or check it out on the AppStore.

If you would like to support Arctic’s development, feel free to Buy Me A Coffee

founded 2 years ago
MODERATORS
 

Deleting a post results in this error message

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 weeks ago (3 children)
[–] [email protected] 2 points 3 weeks ago

Apologies, I dunno any further.

[–] [email protected] 2 points 3 weeks ago

Alright, I’ve figured out the issue here. When a post is deleted, it still appears for the original poster. So, the first time you deleted the post, it worked, but the second time, an error message is displayed, essentially stating that you can’t delete a post twice.

To resolve this, I need to update the UI to show that the post was successfully deleted and disable the delete action for already deleted posts.

[–] [email protected] 2 points 3 weeks ago

Alright, I have this fixed now. Deleted posts will show a badge in the UI. The delete action will now act as a toggle to delete or restore the post.