2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move poll results to a Info-like layer.

This commit is contained in:
John Preston
2020-01-15 14:53:42 +03:00
parent d0597407d8
commit 8c11e1724a
18 changed files with 458 additions and 108 deletions

View File

@@ -100,6 +100,13 @@ void SessionNavigation::showSettings(const SectionShow &params) {
showSettings(Settings::Type::Main, params);
}
void SessionNavigation::showPollResults(
not_null<PollData*> poll,
FullMsgId contextId,
const SectionShow &params) {
showSection(Info::Memento(poll, contextId), params);
}
SessionController::SessionController(
not_null<Main::Session*> session,
not_null<Controller*> window)