Skip to content

Commit

Permalink
use new swift5 shortcut for let
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Jan 10, 2024
1 parent 6816006 commit e5d7f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-ios/View/ChatTitleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ChatTitleView: UIStackView {
titleLabel.textColor = DcColors.defaultTextColor
verifiedView.isHidden = !isVerified

if let subtitle = subtitle {
if let subtitle {
subtitleLabel.text = subtitle
subtitleLabel.textColor = DcColors.defaultTextColor.withAlphaComponent(0.95)
subtitleLabel.isHidden = false
Expand Down

0 comments on commit e5d7f51

Please sign in to comment.