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:
@@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user