From 9b6828f05cd8432fb25b009b864aa0f3b3dc468d Mon Sep 17 00:00:00 2001 From: Rakuyo Date: Fri, 14 Jun 2024 16:54:10 +0800 Subject: [PATCH] fix: Parameters being deleted incorrectly --- Sources/Base/Controller/BaseViewController.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/Base/Controller/BaseViewController.swift b/Sources/Base/Controller/BaseViewController.swift index e5a091e..21d5a70 100644 --- a/Sources/Base/Controller/BaseViewController.swift +++ b/Sources/Base/Controller/BaseViewController.swift @@ -76,11 +76,11 @@ extension BaseViewController { // MARK: - Life cycle extension extension BaseViewController { - @objc - open func viewWillAppear(_: Bool, isFirstEnter _: Bool) { } - - @objc - open func viewDidAppear(_: Bool, isFirstEnter _: Bool) { } + @objc // swiftformat:disable:next unusedArguments + open func viewWillAppear(_ animated: Bool, isFirstEnter: Bool) { } + + @objc // swiftformat:disable:next unusedArguments + open func viewDidAppear(_ animated: Bool, isFirstEnter: Bool) { } } // MARK: - Log