mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Fix build on Xcode.
This commit is contained in:
parent
530e2a1feb
commit
569dd19932
3 changed files with 4 additions and 4 deletions
|
@ -877,7 +877,7 @@ int ColorSelector::resizeGetHeight(int newWidth) {
|
|||
state->panel.show({
|
||||
.controller = controller,
|
||||
.button = right,
|
||||
.ensureAddedEmojiId = state->emojiId,
|
||||
.ensureAddedEmojiId = { state->emojiId },
|
||||
.customTextColor = customTextColor,
|
||||
.backgroundEmojiMode = true,
|
||||
});
|
||||
|
@ -990,7 +990,7 @@ int ColorSelector::resizeGetHeight(int newWidth) {
|
|||
state->panel.show({
|
||||
.controller = controller,
|
||||
.button = right,
|
||||
.ensureAddedEmojiId = state->statusId.documentId,
|
||||
.ensureAddedEmojiId = { state->statusId },
|
||||
.channelStatusMode = true,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
BadgeType badge = BadgeType::None;
|
||||
EmojiStatusId emojiStatusId;
|
||||
|
||||
friend inline constexpr bool operator==(Content, Content) = default;
|
||||
friend inline bool operator==(Content, Content) = default;
|
||||
};
|
||||
Badge(
|
||||
not_null<QWidget*> parent,
|
||||
|
|
|
@ -312,7 +312,7 @@ Cover::Cover(
|
|||
const auto info = peer->botVerifyDetails();
|
||||
return Badge::Content{
|
||||
.badge = info ? BadgeType::BotVerified : BadgeType::None,
|
||||
.emojiStatusId = info ? info->iconId : DocumentId(),
|
||||
.emojiStatusId = { info ? info->iconId : DocumentId() },
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue