From cfc255440d6d39104f0c67eb91d0a32fa87e0271 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sat, 12 Aug 2023 21:21:26 +0800 Subject: [PATCH] feat: always show story save icon --- .../main/java/org/telegram/ui/Stories/PeerStoriesView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Stories/PeerStoriesView.java b/TMessagesProj/src/main/java/org/telegram/ui/Stories/PeerStoriesView.java index c4ac21db8b..de261c2f69 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Stories/PeerStoriesView.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Stories/PeerStoriesView.java @@ -962,7 +962,7 @@ protected void onCreate(ActionBarPopupWindow.ActionBarPopupWindowLayout popupLay } }); - if (!unsupported) { + if (!unsupported || true) { ActionBarMenuItem.addItem(popupLayout, R.drawable.msg_gallery, str, false, resourcesProvider).setOnClickListener(v -> { saveToGallery(); if (popupMenu != null) { @@ -1053,8 +1053,8 @@ protected void onCreate(ActionBarPopupWindow.ActionBarPopupWindowLayout popupLay } } - if (!unsupported) { - if (UserObject.isService(dialogId) || allowShare) { + if (!unsupported || true) { + if (UserObject.isService(dialogId) || allowShare || true) { ActionBarMenuItem.addItem(popupLayout, R.drawable.msg_gallery, LocaleController.getString("SaveToGallery", R.string.SaveToGallery), false, resourcesProvider).setOnClickListener(v -> { saveToGallery(); if (popupMenu != null) {