From 75fcad8f5556c8366713a860558ef007a87cc7d2 Mon Sep 17 00:00:00 2001 From: ZavaruKitsu Date: Tue, 11 Jul 2023 18:05:01 +0000 Subject: [PATCH] fix: refactor --- Telegram/CMakeLists.txt | 4 ++-- .../ayu/ui/{context_menu => boxes}/message_history_box.cpp | 0 .../ayu/ui/{context_menu => boxes}/message_history_box.h | 0 Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp | 2 +- .../SourceFiles/history/view/history_view_context_menu.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename Telegram/SourceFiles/ayu/ui/{context_menu => boxes}/message_history_box.cpp (100%) rename Telegram/SourceFiles/ayu/ui/{context_menu => boxes}/message_history_box.h (100%) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 648980508..070bfd109 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -108,10 +108,10 @@ PRIVATE ayu/ui/settings/settings_ayu.h ayu/ui/context_menu/context_menu.cpp ayu/ui/context_menu/context_menu.h - ayu/ui/context_menu/message_history_box.cpp - ayu/ui/context_menu/message_history_box.h ayu/ui/boxes/voice_confirmation_box.cpp ayu/ui/boxes/voice_confirmation_box.h + ayu/ui/boxes/message_history_box.cpp + ayu/ui/boxes/message_history_box.h ayu/ui/boxes/confirmation_box.cpp ayu/ui/boxes/confirmation_box.h ayu/ui/boxes/edit_deleted_mark.cpp diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/message_history_box.cpp b/Telegram/SourceFiles/ayu/ui/boxes/message_history_box.cpp similarity index 100% rename from Telegram/SourceFiles/ayu/ui/context_menu/message_history_box.cpp rename to Telegram/SourceFiles/ayu/ui/boxes/message_history_box.cpp diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/message_history_box.h b/Telegram/SourceFiles/ayu/ui/boxes/message_history_box.h similarity index 100% rename from Telegram/SourceFiles/ayu/ui/context_menu/message_history_box.h rename to Telegram/SourceFiles/ayu/ui/boxes/message_history_box.h diff --git a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp index 03c8c3e87..57e4a9a45 100644 --- a/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp +++ b/Telegram/SourceFiles/ayu/ui/context_menu/context_menu.cpp @@ -7,10 +7,10 @@ #include "context_menu.h" #include "lang_auto.h" -#include "message_history_box.h" #include "ayu/ayu_state.h" #include "ayu/database/ayu_database.h" #include "ayu/messages/ayu_messages_controller.h" +#include "ayu/ui/boxes/message_history_box.h" #include "history/history_inner_widget.h" #include "settings/settings_common.h" diff --git a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp index 24d52a639..f2ccf07af 100644 --- a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp +++ b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp @@ -77,7 +77,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ayu/ayu_settings.h" #include "ayu/database/ayu_database.h" #include "ayu/messages/ayu_messages_controller.h" -#include "ayu/ui/context_menu/message_history_box.h" +#include "ayu/ui/boxes/message_history_box.h" namespace HistoryView { namespace {