Various giveaway fixes

This commit is contained in:
Ilya Laktyushin 2023-12-13 17:34:29 +04:00
parent 21ae6640b3
commit b0358c28e8

View File

@ -574,9 +574,6 @@ public class ChatMessageGiveawayBubbleContentNode: ChatMessageBubbleContentNode,
}
}
}
if !showWinners {
chipPeers = []
}
let (channelsWidth, continueChannelLayout) = makeChannelsLayout(item.context, 220.0, chipPeers, accentColor, accentColor.withAlphaComponent(0.1), incoming, item.presentationData.theme.theme.overallDarkAppearance)
maxContentWidth = max(maxContentWidth, channelsWidth)
maxContentWidth += 30.0