Skip to content

Commit

Permalink
Fixed dark mode appearance in NoteDetailsCommentTableViewCell
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusolino committed Nov 8, 2019
1 parent 63cd917 commit 6d148ff
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,11 @@ final class NoteDetailsCommentTableViewCell: UITableViewCell {

override func awakeFromNib() {
super.awakeFromNib()
configureBackground()
configureActionButtons()
configureTitleLabel()
configureDetailsLabel()
configureTextView()
configureStarView()
configureDefaultAppearance()
}
Expand All @@ -175,6 +177,12 @@ final class NoteDetailsCommentTableViewCell: UITableViewCell {
//
private extension NoteDetailsCommentTableViewCell {

/// Setup: Cell background
///
func configureBackground() {
applyDefaultBackgroundStyle()
}

/// Setup: Actions!
///
func configureActionButtons() {
Expand Down Expand Up @@ -202,6 +210,11 @@ private extension NoteDetailsCommentTableViewCell {
func configureDetailsLabel() {
detailsLabel.textColor = StyleManager.defaultTextColor
}

func configureTextView() {
textView.backgroundColor = StyleManager.wooWhite
}

/// Setup: Default Action(s) Style
///
func configureDefaultAppearance() {
Expand Down

0 comments on commit 6d148ff

Please sign in to comment.