mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Move poll results to a Info-like layer.
This commit is contained in:
@@ -628,6 +628,11 @@ rpl::producer<QString> TitleValue(
|
||||
return tr::lng_settings_section_call_settings();
|
||||
}
|
||||
Unexpected("Bad settings type in Info::TitleValue()");
|
||||
|
||||
case Section::Type::PollResults:
|
||||
return key.poll()->quiz()
|
||||
? tr::lng_polls_quiz_results_title()
|
||||
: tr::lng_polls_poll_results_title();
|
||||
}
|
||||
Unexpected("Bad section type in Info::TitleValue()");
|
||||
}
|
||||
|
Reference in New Issue
Block a user