mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
feat: implement streamer mode on macOS
This commit is contained in:
@@ -430,7 +430,7 @@ void BuildTrayElements(SectionBuilder &builder, AyuSectionBuilder &ayu) {
|
||||
.keywords = { u"ghost"_q, u"tray"_q },
|
||||
});
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined Q_OS_WIN || defined Q_OS_MAC
|
||||
ayu.addSettingToggle({
|
||||
.id = u"ayu/streamerToggleInTray"_q,
|
||||
.title = tr::ayu_EnableStreamerModeTray(),
|
||||
@@ -533,7 +533,7 @@ void BuildDrawerElements(SectionBuilder &builder, AyuSectionBuilder &ayu) {
|
||||
.icon = { &st::ayuGhostIcon },
|
||||
});
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined Q_OS_WIN || defined Q_OS_MAC
|
||||
ayu.addSettingToggle({
|
||||
.id = u"ayu/streamerToggleInDrawer"_q,
|
||||
.title = tr::ayu_StreamerModeToggle(),
|
||||
|
||||
Reference in New Issue
Block a user