2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fix multiline terms checkbox.

This commit is contained in:
John Preston
2023-11-03 09:06:57 +04:00
parent 855cc8e900
commit 12e164c4df
2 changed files with 3 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ void FillDisclaimerBox(not_null<Ui::GenericBox*> box, Fn<void()> done) {
tr::lng_mini_apps_disclaimer_link(tr::now),
tr::lng_mini_apps_tos_url(tr::now))),
Ui::Text::WithEntities),
st::defaultBoxCheckbox,
st::urlAuthCheckbox,
std::move(checkView)),
{
st::boxRowPadding.left(),
@@ -241,7 +241,7 @@ void FillDisclaimerBox(not_null<Ui::GenericBox*> box, Fn<void()> done) {
st::boxRowPadding.right(),
0,
});
row->setAllowTextLines(5);
row->setAllowTextLines();
row->setClickHandlerFilter([=](
const ClickHandlerPtr &link,
Qt::MouseButton button) {