mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
Update poll bubble cells.
This commit is contained in:
+4
-2
@@ -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) {
|
||||
|
||||
+3
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user