Added ability to switch filters in share and forward boxes with hotkey.

This commit is contained in:
23rd
2026-05-18 22:23:00 +03:00
parent 95369274bb
commit da18b61251
6 changed files with 38 additions and 5 deletions
@@ -1901,7 +1901,8 @@ void SessionController::setupShortcuts() {
return !window().locked()
&& (_chatSwitchProcess
|| (request.started
&& (Core::App().activeWindow() == &window())));
&& (Core::App().activeWindow() == &window())
&& !isLayerShown()));
}) | rpl::on_next([=](const ChatSwitchRequest &request) {
if (!_chatSwitchProcess) {
_chatSwitchProcess = std::make_unique<ChatSwitchProcess>(