mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-05 13:27:36 +01:00
fix: profile header background cannot dynamic adapt UI appearance issue
This commit is contained in:
parent
c4b8f129d7
commit
742c02ce6a
@ -37,7 +37,8 @@ final class ProfileHeaderView: UIView {
|
||||
|
||||
weak var delegate: ProfileHeaderViewDelegate?
|
||||
var disposeBag = Set<AnyCancellable>()
|
||||
|
||||
private var _disposeBag = Set<AnyCancellable>()
|
||||
|
||||
func prepareForReuse() {
|
||||
disposeBag.removeAll()
|
||||
}
|
||||
@ -237,7 +238,7 @@ extension ProfileHeaderView {
|
||||
guard let self = self else { return }
|
||||
self.backgroundColor = theme.systemBackgroundColor
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
.store(in: &_disposeBag)
|
||||
|
||||
// banner
|
||||
bannerContainerView.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
Loading…
Reference in New Issue
Block a user