mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use shared_ptr<Memento> for sections.
This commit is contained in:
@@ -714,7 +714,7 @@ void Filler::addTogglesForArchive() {
|
||||
// const auto controller = _controller;
|
||||
// const auto feed = _feed;
|
||||
// _addAction(tr::lng_context_view_feed_info(tr::now), [=] {
|
||||
// controller->showSection(std::make_unique<Info::Memento>(
|
||||
// controller->showSection(std::make_shared<Info::Memento>(
|
||||
// feed,
|
||||
// Info::Section(Info::Section::Type::Profile)));
|
||||
// });
|
||||
|
Reference in New Issue
Block a user