mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
fix: import ghost icon
thx to Solar icon pack
This commit is contained in:
parent
89036a4c94
commit
4c9a2e4571
6 changed files with 7 additions and 1 deletions
Telegram
Resources/icons/ayu
SourceFiles
cmake
BIN
Telegram/Resources/icons/ayu/ghost.png
Normal file
BIN
Telegram/Resources/icons/ayu/ghost.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 358 B |
BIN
Telegram/Resources/icons/ayu/ghost@2x.png
Normal file
BIN
Telegram/Resources/icons/ayu/ghost@2x.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 511 B |
BIN
Telegram/Resources/icons/ayu/ghost@3x.png
Normal file
BIN
Telegram/Resources/icons/ayu/ghost@3x.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 832 B |
3
Telegram/SourceFiles/ayu/ayu_icons.style
Normal file
3
Telegram/SourceFiles/ayu/ayu_icons.style
Normal file
|
@ -0,0 +1,3 @@
|
|||
using "ui/colors.palette";
|
||||
|
||||
ayuGhostIcon: icon {{ "ayu/ghost", settingsIconFg }};
|
|
@ -78,6 +78,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
|
||||
#include "ayu/ayu_settings.h"
|
||||
#include "ayu/boxes/confirmation_box.h"
|
||||
#include "styles/style_ayu_icons.h"
|
||||
|
||||
namespace Window {
|
||||
namespace {
|
||||
|
@ -848,7 +849,7 @@ void MainMenu::setupMenu() {
|
|||
if (settings->showGhostToggleInDrawer) {
|
||||
_ghostModeToggle = addAction(
|
||||
tr::ayu_DrawerGhostModeToggle(),
|
||||
{&st::menuIconFake, kIconPurple}
|
||||
{&st::ayuGhostIcon, kIconPurple}
|
||||
)->toggleOn(AyuSettings::get_ghostModeEnabled());
|
||||
|
||||
_ghostModeToggle->toggledChanges(
|
||||
|
|
|
@ -12,6 +12,8 @@ include(lib_ui/cmake/generate_styles.cmake)
|
|||
include(cmake/generate_numbers.cmake)
|
||||
|
||||
set(style_files
|
||||
ayu/ayu_icons.style
|
||||
|
||||
ui/td_common.style
|
||||
ui/filter_icons.style
|
||||
ui/menu_icons.style
|
||||
|
|
Loading…
Add table
Reference in a new issue