Update poll bubble cells.

This commit is contained in:
SBiOSoftWhare
2022-02-07 19:59:05 +01:00
parent 757ebde672
commit ee92229ac6
2 changed files with 7 additions and 3 deletions
@@ -16,7 +16,7 @@
import Foundation
class PollIncomingBubbleCell: PollBaseBubbleCell {
class PollIncomingBubbleCell: PollBaseBubbleCell, BubbleIncomingRoomCellProtocol {
override func setupViews() {
super.setupViews()
@@ -27,7 +27,9 @@ class PollIncomingBubbleCell: PollBaseBubbleCell {
let messageLeftMargin: CGFloat = 48 + bubbleBackgroundSideMargin
bubbleCellContentView?.innerContentViewTrailingConstraint.constant = messageViewMarginRight
bubbleCellContentView?.innerContentViewLeadingConstraint.constant = messageLeftMargin
bubbleCellContentView?.innerContentViewLeadingConstraint.constant = messageLeftMargin
self.setupBubbleDecorations()
}
override func update(theme: Theme) {
@@ -16,7 +16,7 @@
import Foundation
class VoiceMessageOutgoingWithoutSenderInfoBubbleCell: VoiceMessageBubbleCell {
class VoiceMessageOutgoingWithoutSenderInfoBubbleCell: VoiceMessageBubbleCell, BubbleOutgoingRoomCellProtocol {
override func setupViews() {
super.setupViews()
@@ -33,6 +33,8 @@ class VoiceMessageOutgoingWithoutSenderInfoBubbleCell: VoiceMessageBubbleCell {
bubbleCellContentView?.innerContentViewLeadingConstraint.constant = leftMargin
playbackController.playbackView.stackViewTrailingContraint.constant = playbackViewRightMargin
self.setupBubbleDecorations()
}
override func update(theme: Theme) {