fix(image-viewer): add downloading toast when sharing videos/gifs
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user