fix save to gallery

This commit is contained in:
luvletter2333 2022-07-13 00:50:00 +08:00
parent 3c1d1bf7cd
commit 66eb744fc7
No known key found for this signature in database
GPG Key ID: A26A8880836E1978
1 changed files with 2 additions and 0 deletions

View File

@ -279,6 +279,8 @@ public class ContentPreviewViewer {
MediaDataController.getInstance(currentAccount).addRecentSticker(MediaDataController.TYPE_IMAGE, parentObject, currentDocument, (int) (System.currentTimeMillis() / 1000), true);
} else if (actions.get(which) == 5) {
delegate.remove(importingSticker);
} else if (actions.get(which) == nkbtn_stickerdl) {
MessageHelper.getInstance(currentAccount).saveStickerToGallery(parentActivity, currentDocument);
}
if (popupWindow != null) {
popupWindow.dismiss();