File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
TMessagesProj/src/main/java/org/telegram/ui Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -545,14 +545,16 @@ public void run() {
545545 items .add (LocaleController .getString ("SaveToGallery" , R .string .SaveToGallery ));
546546 icons .add (R .drawable .msg_gallery );
547547 actions .add (nkbtn_stickerdl );
548- if (NaConfig .INSTANCE .getShowCopyPhoto ().Bool ()) {
549- items .add (LocaleController .getString ("CopyPhotoAsSticker" , R .string .CopyPhotoAsSticker ));
550- icons .add (R .drawable .msg_copy );
551- actions .add (nkbtn_sticker_copy );
552- items .add (LocaleController .getString ("CopyPhoto" , R .string .CopyPhoto ));
548+ if (!MessageObject .isAnimatedStickerDocument (currentDocument )) {
549+ items .add (getString (R .string .CopyPhoto ));
553550 icons .add (R .drawable .msg_copy );
554551 actions .add (nkbtn_sticker_copy_png );
555552 }
553+ if (!MessageObject .isAnimatedStickerDocument (currentDocument )) {
554+ items .add (getString (R .string .CopyPhotoAsSticker ));
555+ icons .add (R .drawable .msg_copy );
556+ actions .add (nkbtn_sticker_copy );
557+ }
556558 }
557559 if (!MessageObject .isMaskDocument (currentDocument ) && (inFavs || MediaDataController .getInstance (currentAccount ).canAddStickerToFavorites () && MessageObject .isStickerHasSet (currentDocument ))) {
558560 items .add (inFavs ? LocaleController .getString (R .string .DeleteFromFavorites ) : LocaleController .getString (R .string .AddToFavorites ));
You can’t perform that action at this time.
0 commit comments