Fix Chat::Id() → ChatId() in settings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Preston
2026-01-15 17:35:35 +04:00
parent d2933428a4
commit ead60ebfcd
2 changed files with 2 additions and 2 deletions
@@ -594,7 +594,7 @@ void Shortcuts::showFinished() {
const auto kMeta = BuildHelper({
.id = Shortcuts::Id(),
.parentId = Chat::Id(),
.parentId = ChatId(),
.title = &tr::lng_settings_shortcuts,
.icon = &st::menuIconShortcut,
}, [](SectionBuilder &builder) {
@@ -16,7 +16,7 @@ namespace Settings {
bool HasMenu(Type type) {
return (type == ::Settings::CloudPasswordEmailConfirmId())
|| (type == MainId())
|| (type == Chat::Id());
|| (type == ChatId());
}
} // namespace Settings