mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
View filter box, removing chats and chat types.
This commit is contained in:
@@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "main/main_account.h"
|
||||
#include "ui/layers/box_content.h"
|
||||
#include "ui/layers/layer_widget.h"
|
||||
#include "ui/toast/toast.h"
|
||||
#include "window/window_session_controller.h"
|
||||
#include "window/themes/window_theme.h"
|
||||
#include "window/themes/window_theme_editor.h"
|
||||
@@ -80,6 +81,10 @@ void Controller::showSettings() {
|
||||
_widget.showSettings();
|
||||
}
|
||||
|
||||
void Controller::showToast(const QString &text) {
|
||||
Ui::Toast::Show(_widget.bodyWidget(), text);
|
||||
}
|
||||
|
||||
void Controller::showBox(
|
||||
object_ptr<Ui::BoxContent> content,
|
||||
Ui::LayerOptions options,
|
||||
|
Reference in New Issue
Block a user