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_disclaimer_link(tr::now),
|
||||||
tr::lng_mini_apps_tos_url(tr::now))),
|
tr::lng_mini_apps_tos_url(tr::now))),
|
||||||
Ui::Text::WithEntities),
|
Ui::Text::WithEntities),
|
||||||
st::defaultBoxCheckbox,
|
st::urlAuthCheckbox,
|
||||||
std::move(checkView)),
|
std::move(checkView)),
|
||||||
{
|
{
|
||||||
st::boxRowPadding.left(),
|
st::boxRowPadding.left(),
|
||||||
@@ -241,7 +241,7 @@ void FillDisclaimerBox(not_null<Ui::GenericBox*> box, Fn<void()> done) {
|
|||||||
st::boxRowPadding.right(),
|
st::boxRowPadding.right(),
|
||||||
0,
|
0,
|
||||||
});
|
});
|
||||||
row->setAllowTextLines(5);
|
row->setAllowTextLines();
|
||||||
row->setClickHandlerFilter([=](
|
row->setClickHandlerFilter([=](
|
||||||
const ClickHandlerPtr &link,
|
const ClickHandlerPtr &link,
|
||||||
Qt::MouseButton button) {
|
Qt::MouseButton button) {
|
||||||
|
Submodule Telegram/lib_ui updated: 1ae65d2cba...08235c5e06
Reference in New Issue
Block a user