diff --git a/AltStore/Settings/PatreonComponents.swift b/AltStore/Settings/PatreonComponents.swift index 2354d4c6..c61ff58a 100644 --- a/AltStore/Settings/PatreonComponents.swift +++ b/AltStore/Settings/PatreonComponents.swift @@ -73,13 +73,13 @@ class AboutPatreonHeaderView: UICollectionReusableView self.textView.layer.cornerRadius = 20 self.textView.textContainer.lineFragmentPadding = 0 - for imageView in [self.rileyImageView!, self.shaneImageView!] + for imageView in [self.rileyImageView, self.shaneImageView].compactMap { $0 } { imageView.clipsToBounds = true imageView.layer.cornerRadius = imageView.bounds.midY } - for button in [self.supportButton!, self.accountButton!] + for button in [self.supportButton, self.accountButton].compactMap { $0 } { button.clipsToBounds = true button.layer.cornerRadius = 16