summaryrefslogtreecommitdiff
path: root/Hutch/Views
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-24 16:44:44 -0500
committerChristian Cleberg <[email protected]>2026-03-24 16:44:44 -0500
commitf38a1caa591fa43cb3d6249b90919c9a3a185c25 (patch)
treebe9aa9bb9c0f9de35d700250ff269575915dce12 /Hutch/Views
parent8da2f907d690a59124d9008c0d8e1e792133702b (diff)
downloadhutch-f38a1caa591fa43cb3d6249b90919c9a3a185c25.tar.gz
hutch-f38a1caa591fa43cb3d6249b90919c9a3a185c25.tar.bz2
hutch-f38a1caa591fa43cb3d6249b90919c9a3a185c25.zip
chore: rename unused protocol params to _ across UIKit representables
Diffstat (limited to 'Hutch/Views')
-rw-r--r--Hutch/Views/Builds/BuildTaskLogView.swift4
-rw-r--r--Hutch/Views/Inbox/ThreadDetailView.swift4
-rw-r--r--Hutch/Views/Repositories/ReadmeView.swift6
3 files changed, 7 insertions, 7 deletions
diff --git a/Hutch/Views/Builds/BuildTaskLogView.swift b/Hutch/Views/Builds/BuildTaskLogView.swift
index 85c9e21..d1d60a4 100644
--- a/Hutch/Views/Builds/BuildTaskLogView.swift
+++ b/Hutch/Views/Builds/BuildTaskLogView.swift
@@ -92,7 +92,7 @@ struct BuildTaskLogView: View {
private struct BuildLogTextView: UIViewRepresentable {
let text: String
- func makeUIView(context: Context) -> UITextView {
+ func makeUIView(context _: Context) -> UITextView {
let textView = UITextView()
textView.isEditable = false
textView.isSelectable = true
@@ -110,7 +110,7 @@ private struct BuildLogTextView: UIViewRepresentable {
return textView
}
- func updateUIView(_ uiView: UITextView, context: Context) {
+ func updateUIView(_ uiView: UITextView, context _: Context) {
guard uiView.text != text else { return }
uiView.text = text
}
diff --git a/Hutch/Views/Inbox/ThreadDetailView.swift b/Hutch/Views/Inbox/ThreadDetailView.swift
index 143200f..c595497 100644
--- a/Hutch/Views/Inbox/ThreadDetailView.swift
+++ b/Hutch/Views/Inbox/ThreadDetailView.swift
@@ -277,7 +277,7 @@ private struct MailComposeView: UIViewControllerRepresentable {
return controller
}
- func updateUIViewController(_ uiViewController: UIViewController, context: Context) {
+ func updateUIViewController(_ : UIViewController, context _: Context) {
// The view controller is fully configured in makeUIViewController.
// No state-driven updates are required.
}
@@ -339,7 +339,7 @@ private final class MailUnavailableViewController: UIViewController {
}
@available(*, unavailable)
- required init?(coder: NSCoder) {
+ required init?(coder _: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
diff --git a/Hutch/Views/Repositories/ReadmeView.swift b/Hutch/Views/Repositories/ReadmeView.swift
index 3777cdb..dea41f3 100644
--- a/Hutch/Views/Repositories/ReadmeView.swift
+++ b/Hutch/Views/Repositories/ReadmeView.swift
@@ -1140,7 +1140,7 @@ private final class HTMLWebViewCoordinator: NSObject, WKNavigationDelegate, @unc
self.parent = parent
}
- func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
+ func webView(_ webView: WKWebView, didFinish _: WKNavigation!) {
DispatchQueue.main.async {
self.parent.loadError = nil
}
@@ -1151,11 +1151,11 @@ private final class HTMLWebViewCoordinator: NSObject, WKNavigationDelegate, @unc
}
}
- func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) {
+ func webView(_: WKWebView, didFail _: WKNavigation!, withError error: Error) {
handleLoadFailure(error)
}
- func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) {
+ func webView(_: WKWebView, didFailProvisionalNavigation _: WKNavigation!, withError error: Error) {
handleLoadFailure(error)
}