From 5938c571748c155b49e834bb16105daa39cc249a Mon Sep 17 00:00:00 2001 From: zeng Date: Wed, 14 Jan 2026 10:09:11 +0800 Subject: [PATCH] 1 --- ReaderHive/Base/Extension/UINavigationBar+NRAdd.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReaderHive/Base/Extension/UINavigationBar+NRAdd.swift b/ReaderHive/Base/Extension/UINavigationBar+NRAdd.swift index 5e30ffc..a90d6f1 100644 --- a/ReaderHive/Base/Extension/UINavigationBar+NRAdd.swift +++ b/ReaderHive/Base/Extension/UINavigationBar+NRAdd.swift @@ -30,18 +30,18 @@ extension UINavigationBar { extension UINavigationBar { - func nr_setTranslucent(isTranslucent: Bool) { + func nr_setTranslucent(_ isTranslucent: Bool) { self.isTranslucent = isTranslucent } - func nr_setBackgroundColor(backgroundColor: UIColor?) { + func nr_setBackgroundColor(_ backgroundColor: UIColor?) { let appearance = self.standardAppearance appearance.backgroundColor = backgroundColor self.standardAppearance = appearance self.scrollEdgeAppearance = appearance } - func nr_setTitleTextAttributes(titleTextAttributes: [NSAttributedString.Key : Any]?) { + func nr_setTitleTextAttributes(_ titleTextAttributes: [NSAttributedString.Key : Any]?) { let appearance = self.standardAppearance if let titleTextAttributes = titleTextAttributes {