From fdb5e2eebba61e74d07e914ce6828b2680ff0b0d Mon Sep 17 00:00:00 2001 From: Joseph Mattello Date: Sat, 17 Dec 2022 03:11:22 -0500 Subject: [PATCH] fix xcode warning Signed-off-by: Joseph Mattello --- AltStore/Settings/PatreonComponents.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltStore/Settings/PatreonComponents.swift b/AltStore/Settings/PatreonComponents.swift index c61ff58a..c185dd4e 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].compactMap { $0 } + 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].compactMap { $0 } + for button in [self.supportButton, self.accountButton].compactMap({ $0 }) { button.clipsToBounds = true button.layer.cornerRadius = 16