Added in-app fileviewer for images and pdf files

This commit is contained in:
MineTec committed 2023-06-18 18:15:49 +02:00
1 parent 6fda2f1078
commit 3d6e0cec0e
3 files changed
+77 -9

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ class _ChatBubbleState extends State<ChatBubble> {
}
downloadProgress = 1;
downloadCore = FileElement.download(message.file!.path!, message.file!.name, (progress) {
downloadCore = FileElement.download(context, message.file!.path!, message.file!.name, (progress) {
if(progress > 1) {
setState(() {
downloadProgress = progress;