2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

New settings build ready in Xcode.

This commit is contained in:
John Preston
2016-08-28 14:23:32 -06:00
parent 2aab8bbae8
commit 605a45c8ba
14 changed files with 281 additions and 58 deletions

View File

@@ -65,17 +65,19 @@ void InnerWidget::refreshBlocks() {
if (_self) {
_cover = new CoverWidget(this, _self);
_blocks.push_back(new Settings::InfoWidget(this, _self));
_blocks.push_back(new Settings::NotificationsWidget(this, _self));
_blocks.push_back(new InfoWidget(this, _self));
_blocks.push_back(new NotificationsWidget(this, _self));
}
_blocks.push_back(new GeneralWidget(this, _self));
if (!cRetina()) {
_blocks.push_back(new ScaleWidget(this, _self));
}
_blocks.push_back(new Settings::GeneralWidget(this, _self));
_blocks.push_back(new Settings::ScaleWidget(this, _self));
if (_self) {
_blocks.push_back(new Settings::ChatSettingsWidget(this, _self));
_blocks.push_back(new Settings::BackgroundWidget(this, _self));
_blocks.push_back(new Settings::PrivacyWidget(this, _self));
_blocks.push_back(new ChatSettingsWidget(this, _self));
_blocks.push_back(new BackgroundWidget(this, _self));
_blocks.push_back(new PrivacyWidget(this, _self));
}
_blocks.push_back(new Settings::AdvancedWidget(this, _self));
_blocks.push_back(new AdvancedWidget(this, _self));
if (_cover) {
_cover->show();