TrixiEther / DashchanFork

Imageboards client for Android
GNU General Public License v3.0
40 stars 2 forks source link

TrixiEther | Attachment features was broken #111

Closed TrixiEther closed 1 year ago

TrixiEther commented 1 year ago

Found out that the feature with attachments was broken, probably due to the fact that the logic of working with adapters has changed a bit:

  1. When user select from the prefetences, always rename the file / set a unique hash / metadata, then the feature was not applied when the file was attached to the post. I removed the extra call to setAdapter and moved the code that checks if the element is selected to another place, it worked
  2. The application crashed when an attempt was made to reencode a file. Fixed