mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
d8e55081b0
commit
cc463b07b1
1 changed files with 18 additions and 16 deletions
|
@ -42,6 +42,7 @@ namespace {
|
|||
.durationMs = Ui::Toast::kDefaultDuration * 2,
|
||||
.multiline = true,
|
||||
};
|
||||
if (history->peer->canWrite()) {
|
||||
auto link = Ui::Text::Link(
|
||||
tr::lng_about_random_send(tr::now).toUpper());
|
||||
link.entities.push_back(
|
||||
|
@ -58,6 +59,7 @@ namespace {
|
|||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
Ui::Toast::Show(config);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue