-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dark mode issues in GVA #715
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,19 @@ final class QuickReplyView: BaseView { | |
collectionView.trailingAnchor.constraint(equalTo: safeAreaLayoutGuide.trailingAnchor) | ||
]) | ||
} | ||
|
||
override func layoutSubviews() { | ||
super.layoutSubviews() | ||
switch style.backgroundColor { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't layoutSubviews also need super? @yurii-glia There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does indeed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed 5c4854f There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for consistency yes, however, afaik, Apple doc for |
||
case .fill(let color): | ||
collectionView.backgroundColor = color | ||
case .gradient(let colors): | ||
makeGradientBackground( | ||
colors: colors, | ||
cornerRadius: style.cornerRadius | ||
) | ||
} | ||
} | ||
} | ||
|
||
// MARK: - Private | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed super call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed b613e53