diff --git a/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java index d3fff12c5..1eb7f673a 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java @@ -883,6 +883,11 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter. dialogsAdapter.setDialogsType(type); dialogsAdapter.notifyDataSetChanged(); } + if (archivePullViewState == ARCHIVE_ITEM_STATE_HIDDEN && hasHiddenArchive()) { + layoutManager.scrollToPositionWithOffset(1, 0); + } else { + layoutManager.scrollToPositionWithOffset(0, 0); + } actionBar.setTitle(getNekoTitle()); }