mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Add cover to settings main section.
This commit is contained in:
@@ -19,10 +19,11 @@ namespace Settings {
|
||||
object_ptr<Section> CreateSection(
|
||||
Type type,
|
||||
not_null<QWidget*> parent,
|
||||
not_null<Window::Controller*> controller,
|
||||
UserData *self) {
|
||||
switch (type) {
|
||||
case Type::Main:
|
||||
return object_ptr<::Settings::Main>(parent, self);
|
||||
return object_ptr<::Settings::Main>(parent, controller, self);
|
||||
case Type::Information:
|
||||
return object_ptr<::Settings::Information>(parent, self);
|
||||
case Type::Notifications:
|
||||
|
Reference in New Issue
Block a user