diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-30 11:46:55 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-30 11:46:55 +0200 |
| commit | 0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6 (patch) | |
| tree | e00e2c549c2c9afef0741d6dd6ea8725d28bf35e /ios/MullvadVPN/View controllers/ProblemReport | |
| parent | 9ac934e6886d20d7f7a72bf85bbde9d1b5901976 (diff) | |
| download | mullvadvpn-0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6.tar.xz mullvadvpn-0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6.zip | |
Use swiftlint auto fix for trivial lint violations
Diffstat (limited to 'ios/MullvadVPN/View controllers/ProblemReport')
| -rw-r--r-- | ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift index 80de1e1ddb..93cfbde3eb 100644 --- a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift +++ b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift @@ -453,7 +453,7 @@ final class ProblemReportViewController: UIViewController, UITextFieldDelegate { self.messageTextView.roundCorners = false self.view.layoutIfNeeded() - }) { completed in + }) { _ in self.isMessageTextViewExpanded = true self.textViewKeyboardResponder?.updateContentInsets() @@ -476,7 +476,7 @@ final class ProblemReportViewController: UIViewController, UITextFieldDelegate { self.messageTextView.roundCorners = true self.view.layoutIfNeeded() - }) { completed in + }) { _ in // Revert the content adjustment behavior self.messageTextView.contentInsetAdjustmentBehavior = .never @@ -568,7 +568,7 @@ final class ProblemReportViewController: UIViewController, UITextFieldDelegate { to: submissionOverlayView, duration: 0.25, options: [.showHideTransitionViews, .transitionCrossDissolve] - ) { success in + ) { _ in // success } } @@ -583,7 +583,7 @@ final class ProblemReportViewController: UIViewController, UITextFieldDelegate { to: scrollView, duration: 0.25, options: [.showHideTransitionViews, .transitionCrossDissolve] - ) { success in + ) { _ in // success self.submissionOverlayView.removeFromSuperview() } |
