mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix the build on Windows.
This commit is contained in:
@@ -737,8 +737,6 @@ FillMenuResult FillSendMenu(
|
||||
const auto &icons = iconsOverride
|
||||
? *iconsOverride
|
||||
: st::defaultComposeIcons;
|
||||
|
||||
}
|
||||
if (sending && type != Type::SilentOnly) {
|
||||
menu->addAction(
|
||||
((type == Type::Reminder)
|
||||
@@ -761,6 +759,7 @@ FillMenuResult FillSendMenu(
|
||||
[=] { action({ Api::SendOptions{ .silent = true } }, details); },
|
||||
&icons.menuMute);
|
||||
|
||||
}
|
||||
if ((type != Type::Disabled)
|
||||
&& ((details.spoiler != SpoilerState::None)
|
||||
|| (details.caption != CaptionState::None)
|
||||
|
||||
Reference in New Issue
Block a user