Closed Scarletto closed 1 year ago
hella old dart version ayo
Did it work out removing the mime-type converters?
Did it work out removing the mime-type converters?
Yes, I now download the file, copy the file with the proper extension and put it in the cache, delete the old cached file.
You can merge if you want. Would be nice if we could not use the file extension and just base it off MIME but I dont think this will be abused
Closes #401.
Summary
Made class
Document
(as aJsonSerializable
) and added it to theEvent
model and serialization.Added dependency
open_file_plus
, a helpful small package that makes opening downloaded files in external apps easy and clean.Made
FileButton
, anElevatedButton
that gets a file viaThaliaCacheManager()
and opens it in an external application.Added
FileButton
s for all event documents inEventScreen
.How to test
Steps to test the changes you made: