From 79d26ddb345b96cb27e01230630d96b8986b209e Mon Sep 17 00:00:00 2001 From: Vitor Conceicao Date: Tue, 10 Feb 2026 08:15:25 -0300 Subject: [PATCH] fix: adjust old ios not compatible bird image --- Projects/Detail/Sources/View/DetailHeaderView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Projects/Detail/Sources/View/DetailHeaderView.swift b/Projects/Detail/Sources/View/DetailHeaderView.swift index 98ebb49..d8412e0 100644 --- a/Projects/Detail/Sources/View/DetailHeaderView.swift +++ b/Projects/Detail/Sources/View/DetailHeaderView.swift @@ -100,7 +100,11 @@ final class DetailHeaderView: UIView { let button = UIButton(type: .system) button.translatesAutoresizingMaskIntoConstraints = false let config = UIImage.SymbolConfiguration(pointSize: 18) - button.setImage(UIImage(systemName: "bird.fill", withConfiguration: config), for: .normal) + if #available(iOS 16.0, *) { + button.setImage(UIImage(systemName: "bird.fill", withConfiguration: config), for: .normal) + } else { + button.setImage(UIImage(systemName: "bubble.left", withConfiguration: config), for: .normal) + } button.tintColor = .white button.backgroundColor = .systemBlue button.layer.cornerRadius = 18