From ed5b83bc62fed7fa49ba16c5f311dcc154e41607 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 2 Mar 2022 06:11:44 +0300 Subject: [PATCH] Fixed unexpected copyright reason from top bar in sections. --- .../SourceFiles/history/view/history_view_top_bar_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 1e51616070..c993a7fb00 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -458,6 +458,8 @@ void TopBarWidget::paintTopBar(Painter &p) { return tr::lng_report_reason_child_abuse(tr::now); case Reason::Pornography: return tr::lng_report_reason_pornography(tr::now); + case Reason::Copyright: + return tr::lng_report_reason_copyright(tr::now); } Unexpected("reason in TopBarWidget::paintTopBar."); }();