fix: swap saveViaDownloadManager to shareAfterDownloading in failed sharing action

I forgot to change the functions when I wrote it
This commit is contained in:
LucasGGamerM
2023-12-27 10:12:32 -03:00
parent 30726cb364
commit a7fef67d48

View File

@@ -463,7 +463,7 @@ public class PhotoViewer implements ZoomPanView.Listener{
try{ try{
File file=ImageCache.getInstance(activity).getFile(req); File file=ImageCache.getInstance(activity).getFile(req);
if(file==null){ if(file==null){
saveViaDownloadManager(att); shareAfterDownloading(att);
return; return;
} }
MastodonAPIController.runInBackground(()->{ MastodonAPIController.runInBackground(()->{