enhance: background transition

This commit is contained in:
Tienson Qin
2025-11-26 04:31:36 +08:00
parent fcbdbc2052
commit 2feb2108cb
2 changed files with 4 additions and 5 deletions

View File

@@ -77,10 +77,8 @@ public class NativeTopBarPlugin: CAPPlugin, CAPBridgedPlugin {
// --- NAVIGATION BAR (top) ---
let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = resolvedBackgroundColor
appearance.configureWithTransparentBackground()
appearance.shadowColor = .clear
nav.navigationBar.isTranslucent = false
appearance.titleTextAttributes = [
.foregroundColor: resolvedTintColor