mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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({
|
state->panel.show({
|
||||||
.controller = controller,
|
.controller = controller,
|
||||||
.button = right,
|
.button = right,
|
||||||
.ensureAddedEmojiId = state->emojiId,
|
.ensureAddedEmojiId = { state->emojiId },
|
||||||
.customTextColor = customTextColor,
|
.customTextColor = customTextColor,
|
||||||
.backgroundEmojiMode = true,
|
.backgroundEmojiMode = true,
|
||||||
});
|
});
|
||||||
|
@ -990,7 +990,7 @@ int ColorSelector::resizeGetHeight(int newWidth) {
|
||||||
state->panel.show({
|
state->panel.show({
|
||||||
.controller = controller,
|
.controller = controller,
|
||||||
.button = right,
|
.button = right,
|
||||||
.ensureAddedEmojiId = state->statusId.documentId,
|
.ensureAddedEmojiId = { state->statusId },
|
||||||
.channelStatusMode = true,
|
.channelStatusMode = true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ public:
|
||||||
BadgeType badge = BadgeType::None;
|
BadgeType badge = BadgeType::None;
|
||||||
EmojiStatusId emojiStatusId;
|
EmojiStatusId emojiStatusId;
|
||||||
|
|
||||||
friend inline constexpr bool operator==(Content, Content) = default;
|
friend inline bool operator==(Content, Content) = default;
|
||||||
};
|
};
|
||||||
Badge(
|
Badge(
|
||||||
not_null<QWidget*> parent,
|
not_null<QWidget*> parent,
|
||||||
|
|
|
@ -312,7 +312,7 @@ Cover::Cover(
|
||||||
const auto info = peer->botVerifyDetails();
|
const auto info = peer->botVerifyDetails();
|
||||||
return Badge::Content{
|
return Badge::Content{
|
||||||
.badge = info ? BadgeType::BotVerified : BadgeType::None,
|
.badge = info ? BadgeType::BotVerified : BadgeType::None,
|
||||||
.emojiStatusId = info ? info->iconId : DocumentId(),
|
.emojiStatusId = { info ? info->iconId : DocumentId() },
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue