mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-02 02:07:54 +00:00
Fix Chat::Id() → ChatId() in settings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user