mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Added ability to switch filters in share and forward boxes with hotkey.
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user