parent
ba1eed7a85
commit
ff4dff1147
|
@ -19,6 +19,7 @@ class StatusMetaIndicatorsView: UIView {
|
|||
var secondaryAxisAlignment: Alignment = .leading
|
||||
private var images: [UIImageView] = []
|
||||
private var isUsingSingleAxis = false
|
||||
private var statusID: String?
|
||||
|
||||
private var needsSingleAxis: Bool {
|
||||
traitCollection.preferredContentSizeCategory > .extraLarge
|
||||
|
@ -61,6 +62,11 @@ class StatusMetaIndicatorsView: UIView {
|
|||
}
|
||||
|
||||
func updateUI(status: StatusMO) {
|
||||
guard statusID != status.id else {
|
||||
return
|
||||
}
|
||||
statusID = status.id
|
||||
|
||||
var images: [UIImage] = []
|
||||
|
||||
if allowedIndicators.contains(.reply) && Preferences.shared.showIsStatusReplyIcon && status.inReplyToID != nil {
|
||||
|
|
Loading…
Reference in New Issue