mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-06 01:16:12 +00:00
Improve new settings design.
This commit is contained in:
@@ -293,11 +293,15 @@ void TermsBox::prepare() {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}) | rpl::map([] {
|
||||
return rpl::empty_value();
|
||||
}) | rpl::start_to_stream(_agreeClicks, lifetime());
|
||||
|
||||
if (_cancel) {
|
||||
addButton(_cancel, [=] {})->clicks(
|
||||
) | rpl::start_to_stream(_cancelClicks, lifetime());
|
||||
) | rpl::map([] {
|
||||
return rpl::empty_value();
|
||||
}) | rpl::start_to_stream(_cancelClicks, lifetime());
|
||||
}
|
||||
|
||||
if (age) {
|
||||
|
Reference in New Issue
Block a user