Fix various SwiftLint warnings.

This commit is contained in:
Brent Simmons committed 2026-01-02 17:50:35 -08:00
1 parent d9216a3275
commit 9ff1bd9836
104 files changed
+365 -363

No files matched your search

+2 -2
View File
@@ -58,7 +58,7 @@ final class ImageViewController: UIViewController {
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
super.viewWillTransition(to: size, with: coordinator)
coordinator.animate(alongsideTransition: { [weak self] context in
coordinator.animate(alongsideTransition: { [weak self] _ in
self?.imageScrollView.resize()
})
}
@@ -75,7 +75,7 @@ final class ImageViewController: UIViewController {
dismiss(animated: true)
}
private func layoutTitleLabel(){
private func layoutTitleLabel() {
let width = view.frame.width
let multiplier = traitCollection.userInterfaceIdiom == .pad ? CGFloat(0.1) : CGFloat(0.04)
titleLeading.constant += width * multiplier