mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Detach ComposeControls from SessionController.
This commit is contained in:
@@ -342,9 +342,9 @@ void CheckoutProcess::handleFormUpdate(const FormUpdate &update) {
|
||||
}
|
||||
|
||||
void CheckoutProcess::handleError(const Error &error) {
|
||||
const auto showToast = [&](const TextWithEntities &text) {
|
||||
const auto showToast = [&](TextWithEntities &&text) {
|
||||
_panel->requestActivate();
|
||||
_panel->showToast(text);
|
||||
_panel->showToast(std::move(text));
|
||||
};
|
||||
const auto &id = error.id;
|
||||
switch (error.type) {
|
||||
|
Reference in New Issue
Block a user