Fix pin image still showing on statuses after cell reuse
This commit is contained in:
parent
1f40cc9928
commit
c3c19b1994
|
@ -84,11 +84,9 @@ class TimelineStatusTableViewCell: BaseStatusTableViewCell {
|
||||||
|
|
||||||
updateTimestamp()
|
updateTimestamp()
|
||||||
|
|
||||||
if showPinned {
|
let pinned = showPinned && (status.pinned ?? false)
|
||||||
let pinned = status.pinned ?? false
|
timestampLabel.isHidden = pinned
|
||||||
timestampLabel.isHidden = pinned
|
pinImageView.isHidden = !pinned
|
||||||
pinImageView.isHidden = !pinned
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc override func preferencesChanged() {
|
@objc override func preferencesChanged() {
|
||||||
|
|
Loading…
Reference in New Issue