mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use shared_ptr<Memento> for sections.
This commit is contained in:
@@ -1591,7 +1591,7 @@ void UpdateApplication() {
|
||||
if (const auto window = App::wnd()) {
|
||||
if (const auto controller = window->sessionController()) {
|
||||
controller->showSection(
|
||||
std::make_unique<Info::Memento>(
|
||||
std::make_shared<Info::Memento>(
|
||||
Info::Settings::Tag{ controller->session().user() },
|
||||
Info::Section::SettingsType::Advanced),
|
||||
Window::SectionShow());
|
||||
|
Reference in New Issue
Block a user