2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Fixed display of most of simple toasts in corresponding window.

This commit is contained in:
23rd
2022-06-14 12:48:25 +03:00
parent 29910cd1f7
commit 629574685e
27 changed files with 179 additions and 79 deletions

View File

@@ -199,7 +199,9 @@ void Cover::initViewers() {
} else {
QGuiApplication::clipboard()->setText(
_user->session().createInternalLinkFull(username));
Ui::Toast::Show(tr::lng_username_copied(tr::now));
Ui::Toast::Show(
Window::Show(_controller).toastParent(),
tr::lng_username_copied(tr::now));
}
return false;
});