Skip to content

Commit

Permalink
feat: always show story save icon
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Aug 12, 2023
1 parent 85d6c5b commit cfc2554
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit cfc2554

Please sign in to comment.