2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed Ui::hideSettingsAndLayer().

This commit is contained in:
23rd
2022-02-20 14:00:36 +03:00
parent bc6d69319c
commit 3ebb9af8f8
12 changed files with 30 additions and 24 deletions

View File

@@ -34,6 +34,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "chat_helpers/stickers_lottie.h"
#include "media/clip/media_clip_reader.h"
#include "window/window_session_controller.h"
#include "window/window_controller.h"
#include "base/unixtime.h"
#include "main/main_session.h"
#include "apiwrap.h"
@@ -669,7 +670,7 @@ void StickerSetBox::Inner::send(
const auto controller = _controller;
Ui::PostponeCall(controller, [=] {
if (controller->content()->sendExistingDocument(sticker, options)) {
Ui::hideSettingsAndLayer();
controller->window().hideSettingsAndLayer();
}
});
}