mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Fix build with new lib_ui commits.
This commit is contained in:
@@ -238,7 +238,7 @@ void ShowErrorToast(const QString &text) {
|
||||
auto config = Ui::Toast::Config();
|
||||
config.multiline = true;
|
||||
config.minWidth = st::msgMinWidth;
|
||||
config.text = text;
|
||||
config.text = { text };
|
||||
Ui::Toast::Show(config);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user