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:
@@ -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) {
|
||||
|
Submodule Telegram/lib_ui updated: 1ae65d2cba...08235c5e06
Reference in New Issue
Block a user