mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Support arbitrary content in toasts.
This commit is contained in:
@@ -1947,9 +1947,9 @@ void MainWidget::showNonPremiumLimitToast(bool download) {
|
||||
? tr::lng_limit_download_title
|
||||
: tr::lng_limit_upload_title)(tr::now),
|
||||
.text = std::move(text),
|
||||
.duration = 5 * crl::time(1000),
|
||||
.slideSide = RectPart::Top,
|
||||
.filter = std::move(filter),
|
||||
.attach = RectPart::Top,
|
||||
.duration = 5 * crl::time(1000),
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user