Remove namespace App.

This commit is contained in:
John Preston
2022-11-30 17:28:09 +04:00
parent 01139e1b04
commit ad3f8e72a0
24 changed files with 80 additions and 74 deletions
@@ -663,7 +663,7 @@ void Widget::setupShortcuts() {
) | rpl::filter([=] {
return isActiveWindow()
&& Ui::InFocusChain(this)
&& !Ui::isLayerShown()
&& !controller()->isLayerShown()
&& !controller()->window().locked();
}) | rpl::start_with_next([=](not_null<Shortcuts::Request*> request) {
using Command = Shortcuts::Command;
@@ -2027,7 +2027,7 @@ void Widget::showSearchFrom() {
auto box = SearchFromBox(
peer,
crl::guard(this, [=](not_null<PeerData*> from) {
Ui::hideLayer();
controller()->hideLayer();
if (!chat.topic()) {
setSearchInChat(chat, from);
} else if (const auto strong = weak.get()) {