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