Skip to content

Commit

Permalink
Merge pull request #873 from Infomaniak/thread-badge-color
Browse files Browse the repository at this point in the history
feat(ThreadCell): Update message count indicator colors
  • Loading branch information
PhilippeWeidmann committed Jul 13, 2023
2 parents 2d8bdfc + 235e7e4 commit ce8275d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
3 changes: 1 addition & 2 deletions Mail/Views/Thread List/ThreadCountIndicatorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ struct ThreadCountIndicatorView: View {
.padding(.horizontal, 4)
.padding(.vertical, 1)
.lineLimit(1)
.background(hasUnseenMessages ? .clear : MailResourcesAsset.unreadIndicatorBackgroundColor.swiftUIColor)
.clipShape(RoundedRectangle(cornerRadius: 3))
.overlay {
RoundedRectangle(cornerRadius: 3)
.stroke(hasUnseenMessages
? MailResourcesAsset.textPrimaryColor.swiftUIColor
: MailResourcesAsset.elementsColor.swiftUIColor)
: MailResourcesAsset.textFieldBorder.swiftUIColor)
}
}
}
Expand Down

This file was deleted.

0 comments on commit ce8275d

Please sign in to comment.