fix(image-viewer): add downloading toast when sharing videos/gifs

This commit is contained in:
LucasGGamerM 2024-05-27 16:42:24 -03:00
parent 5e7f4bda82
commit e2e8173db6
1 changed files with 2 additions and 0 deletions

View File

@ -614,6 +614,8 @@ public class PhotoViewer implements ZoomPanView.Listener{
private void shareAfterDownloading(Attachment att){
Uri uri=Uri.parse(att.url);
Toast.makeText(activity, R.string.downloading, Toast.LENGTH_SHORT).show();
MastodonAPIController.runInBackground(()->{
try {
OkHttpClient client = new OkHttpClient();