2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Show sessions list in a Settings Section.

This commit is contained in:
John Preston
2021-11-29 17:29:45 +04:00
parent 2ad20d6c4a
commit d4c6475ae8
7 changed files with 26 additions and 9 deletions

View File

@@ -22,6 +22,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/widgets/box_content_divider.h"
#include "ui/widgets/buttons.h"
#include "boxes/abstract_box.h"
#include "boxes/sessions_box.h"
#include "window/themes/window_theme_editor_box.h"
#include "window/window_session_controller.h"
#include "window/window_controller.h"
@@ -47,6 +48,8 @@ object_ptr<Section> CreateSection(
return object_ptr<Notifications>(parent, controller);
case Type::PrivacySecurity:
return object_ptr<PrivacySecurity>(parent, controller);
case Type::Sessions:
return object_ptr<Sessions>(parent, controller);
case Type::Advanced:
return object_ptr<Advanced>(parent, controller);
case Type::Folders: