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

Implement intro wrap for new settings.

This commit is contained in:
John Preston
2018-09-11 21:07:04 +03:00
parent 34665cd6da
commit c1ae9e9680
15 changed files with 689 additions and 72 deletions

View File

@@ -33,7 +33,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mediaview.h"
#include "storage/localstorage.h"
#include "apiwrap.h"
#include "old_settings/settings_widget.h"
#include "settings/settings_intro.h"
#include "platform/platform_notifications_manager.h"
#include "window/layer_widget.h"
#include "window/notifications_manager.h"
@@ -307,8 +307,7 @@ void MainWindow::showSettings() {
if (const auto controller = this->controller()) {
controller->showSettings();
} else {
// #TODO settings
showSpecialLayer(Box<OldSettings::Widget>(), anim::type::normal);
showSpecialLayer(Box<Settings::LayerWidget>(), anim::type::normal);
}
}