fix: import ghost icon

thx to Solar icon pack
This commit is contained in:
ZavaruKitsu 2023-06-09 21:09:25 +03:00
parent 89036a4c94
commit 4c9a2e4571
6 changed files with 7 additions and 1 deletions

Binary file not shown.

After

(image error) Size: 358 B

Binary file not shown.

After

(image error) Size: 511 B

Binary file not shown.

After

(image error) Size: 832 B

View file

@ -0,0 +1,3 @@
using "ui/colors.palette";
ayuGhostIcon: icon {{ "ayu/ghost", settingsIconFg }};

View file

@ -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(

View file

@ -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