mirror of https://github.com/procxx/kepka.git
parent
d8e55081b0
commit
cc463b07b1
|
@ -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…
Reference in New Issue