feat(chat-menu): toggle to restore long-press → recent chats on chat tab
xtaodada committed
- Author
- xtaodada · xtao@xtao.deMay 24, 2026 at 15:03
- Committer
- xtaodada · xtao@xtao.deMay 24, 2026 at 15:04
- Parents
- 601a1e1d01f8
feat(chat-menu): toggle to restore long-press → recent chats on chat tab 12.7 merge re-introduced upstream's openFoldersSelector listener on INDEX_CHATS, which overwrote fork's BackButtonRecentMenu listener (setOnLongClickListener keeps only the last call). Long-pressing the chat tab silently lost the recent-chats popup as a result. Merge the two listeners behind Config.showRecentChatsOnTabLongPress (default off): ON → BackButtonRecentMenu (fork behavior), OFF → openFoldersSelector (upstream behavior). Surface the toggle in ChatSettingActivity with strings in all three locales. Setting-Path: 设置 → N 设置 → 聊天 → 长按聊天标签显示最近会话 | https://t.me/nasettings/g?r=ShowRecentChatsOnTabLongPress Co-Authored-By: Next Alone <12210746+NextAlone@users.noreply.github.com> Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 files changed+17−5