2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Improve new settings design.

This commit is contained in:
John Preston
2018-09-13 23:09:26 +03:00
parent ffc4cd3415
commit c2039da600
31 changed files with 463 additions and 304 deletions

View File

@@ -192,7 +192,7 @@ void LocalStorageBox::Row::step_radial(TimeMs ms, bool timer) {
}
rpl::producer<> LocalStorageBox::Row::clearRequests() const {
return _clear->clicks();
return _clear->clicks() | rpl::map([] { return rpl::empty_value(); });
}
int LocalStorageBox::Row::resizeGetHeight(int newWidth) {