From e5d7f51b6491ac211cb5e08df359d9f199244370 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 10 Jan 2024 16:39:41 +0100 Subject: [PATCH] use new swift5 shortcut for `let` --- deltachat-ios/View/ChatTitleView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ios/View/ChatTitleView.swift b/deltachat-ios/View/ChatTitleView.swift index c89f15238..67e39bd6e 100644 --- a/deltachat-ios/View/ChatTitleView.swift +++ b/deltachat-ios/View/ChatTitleView.swift @@ -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