2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Implement chat settings section.

This commit is contained in:
John Preston
2018-09-07 15:19:56 +03:00
parent 38f788f545
commit b8c2c3991f
12 changed files with 767 additions and 47 deletions

View File

@@ -47,9 +47,13 @@ object_ptr<Section> CreateSection(
}
void AddSkip(not_null<Ui::VerticalLayout*> container) {
AddSkip(container, st::settingsSectionSkip);
}
void AddSkip(not_null<Ui::VerticalLayout*> container, int skip) {
container->add(object_ptr<Ui::FixedHeightWidget>(
container,
st::settingsSectionSkip));
skip));
}
void AddDivider(not_null<Ui::VerticalLayout*> container) {