mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 16:13:46 +08:00
Detach ComposeControls from SessionController.
This commit is contained in:
@@ -1045,8 +1045,8 @@ void Panel::showBox(object_ptr<BoxContent> box) {
|
||||
anim::type::normal);
|
||||
}
|
||||
|
||||
void Panel::showToast(const TextWithEntities &text) {
|
||||
_widget->showToast(text);
|
||||
void Panel::showToast(TextWithEntities &&text) {
|
||||
_widget->showToast(std::move(text));
|
||||
}
|
||||
|
||||
void Panel::showCriticalError(const TextWithEntities &text) {
|
||||
|
||||
Reference in New Issue
Block a user