Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuYi0526 committed Nov 12, 2024
2 parents d701188 + 66dcb86 commit be21779
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,7 @@ public void startDocumentSelectActivity() {

shareMenuItem = actionMode.addItemWithWidth(MENU_SHARE, R.drawable.msg_share, AndroidUtilities.dp(54));
exportMenuItem = actionMode.addItemWithWidth(MENU_EXPORT, R.drawable.msg_download, AndroidUtilities.dp(54));
if (currentType != MediaDataController.TYPE_EMOJIPACKS) {
archiveMenuItem = actionMode.addItemWithWidth(MENU_ARCHIVE, R.drawable.msg_archive, AndroidUtilities.dp(54));
}
archiveMenuItem = actionMode.addItemWithWidth(MENU_ARCHIVE, R.drawable.msg_archive, AndroidUtilities.dp(54));
deleteMenuItem = actionMode.addItemWithWidth(MENU_DELETE, R.drawable.msg_delete, AndroidUtilities.dp(54));

ArrayList<TLRPC.TL_messages_stickerSet> sets;
Expand Down Expand Up @@ -923,7 +921,7 @@ public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) {

if (currentType == MediaDataController.TYPE_IMAGE) {
featuredRow = rowCount++;
masksRow = -1;
masksRow = rowCount++;
if (mediaDataController.getArchivedStickersCount(currentType) != 0) {
boolean inserted = archivedRow == -1;
archivedRow = rowCount++;
Expand Down

0 comments on commit be21779

Please sign in to comment.