fix(image-viewer): add downloading toast when sharing videos/gifs
This commit is contained in:
parent
5e7f4bda82
commit
e2e8173db6
|
@ -614,6 +614,8 @@ public class PhotoViewer implements ZoomPanView.Listener{
|
||||||
private void shareAfterDownloading(Attachment att){
|
private void shareAfterDownloading(Attachment att){
|
||||||
Uri uri=Uri.parse(att.url);
|
Uri uri=Uri.parse(att.url);
|
||||||
|
|
||||||
|
Toast.makeText(activity, R.string.downloading, Toast.LENGTH_SHORT).show();
|
||||||
|
|
||||||
MastodonAPIController.runInBackground(()->{
|
MastodonAPIController.runInBackground(()->{
|
||||||
try {
|
try {
|
||||||
OkHttpClient client = new OkHttpClient();
|
OkHttpClient client = new OkHttpClient();
|
||||||
|
|
Loading…
Reference in New Issue