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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user