mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-15 17:30:35 +00:00
fix save to gallery
This commit is contained in:
parent
3c1d1bf7cd
commit
66eb744fc7
|
@ -279,6 +279,8 @@ public class ContentPreviewViewer {
|
||||||
MediaDataController.getInstance(currentAccount).addRecentSticker(MediaDataController.TYPE_IMAGE, parentObject, currentDocument, (int) (System.currentTimeMillis() / 1000), true);
|
MediaDataController.getInstance(currentAccount).addRecentSticker(MediaDataController.TYPE_IMAGE, parentObject, currentDocument, (int) (System.currentTimeMillis() / 1000), true);
|
||||||
} else if (actions.get(which) == 5) {
|
} else if (actions.get(which) == 5) {
|
||||||
delegate.remove(importingSticker);
|
delegate.remove(importingSticker);
|
||||||
|
} else if (actions.get(which) == nkbtn_stickerdl) {
|
||||||
|
MessageHelper.getInstance(currentAccount).saveStickerToGallery(parentActivity, currentDocument);
|
||||||
}
|
}
|
||||||
if (popupWindow != null) {
|
if (popupWindow != null) {
|
||||||
popupWindow.dismiss();
|
popupWindow.dismiss();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user