diff --git a/Telegram/Resources/icons/ayu/repeat.png b/Telegram/Resources/icons/ayu/repeat.png new file mode 100755 index 0000000000..d973fba8b7 Binary files /dev/null and b/Telegram/Resources/icons/ayu/repeat.png differ diff --git a/Telegram/Resources/icons/ayu/repeat@2x.png b/Telegram/Resources/icons/ayu/repeat@2x.png new file mode 100755 index 0000000000..3a669b04e7 Binary files /dev/null and b/Telegram/Resources/icons/ayu/repeat@2x.png differ diff --git a/Telegram/Resources/icons/ayu/repeat@3x.png b/Telegram/Resources/icons/ayu/repeat@3x.png new file mode 100755 index 0000000000..af09fcedd2 Binary files /dev/null and b/Telegram/Resources/icons/ayu/repeat@3x.png differ diff --git a/Telegram/SourceFiles/ayu/ui/ayu_icons.style b/Telegram/SourceFiles/ayu/ui/ayu_icons.style index 63b09ddbf5..6fe6953a3f 100644 --- a/Telegram/SourceFiles/ayu/ui/ayu_icons.style +++ b/Telegram/SourceFiles/ayu/ui/ayu_icons.style @@ -17,6 +17,7 @@ ayuLReadMenuIcon: icon {{ "ayu/lread", menuIconColor }}; ayuSReadMenuIcon: icon {{ "ayu/sread", menuIconColor }}; ayuStreamerModeMenuIcon: icon {{ "ayu/streamer", menuIconColor }}; ayuToBeginningMenuIcon: icon {{ "ayu/to_beginning", menuIconColor }}; +ayuRepeatMenuIcon: icon {{ "ayu/repeat", menuIconColor }}; messageFieldAttachIcon: icon {{ "ayu/message_field/attach", menuIconColor }}; messageFieldCommandsIcon: icon {{ "ayu/message_field/commands", menuIconColor }}; diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp index 3d04d23181..9861daf3e4 100644 --- a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp +++ b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp @@ -735,7 +735,7 @@ void AddRepeatMessageAction(not_null menu, HistoryItem *item) { session->api().forwardMessages(std::move(resolvedDraft), action, [] {}); } }, - &st::menuIconRestore); + &st::ayuRepeatMenuIcon); } void AddReadUntilAction(not_null menu, HistoryItem *item) { diff --git a/Telegram/SourceFiles/ayu/ui/settings/settings_chats.cpp b/Telegram/SourceFiles/ayu/ui/settings/settings_chats.cpp index be88b14476..9dd3055069 100644 --- a/Telegram/SourceFiles/ayu/ui/settings/settings_chats.cpp +++ b/Telegram/SourceFiles/ayu/ui/settings/settings_chats.cpp @@ -357,7 +357,7 @@ void BuildContextMenuElements(SectionBuilder &builder, AyuSectionBuilder &ayu) { .initialSelection = static_cast(settings->showRepeatMessageInContextMenu()), .options = options, .setter = [](int i) { AyuSettings::getInstance().setShowRepeatMessageInContextMenu(static_cast(i)); }, - .icon = { &st::menuIconRestore }, + .icon = { &st::ayuRepeatMenuIcon }, .keywords = { u"repeat"_q, u"resend"_q }, }); if (settings->filtersEnabled()) {