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

View File

@@ -133,8 +133,9 @@
(bottom-tabs/configure))
(when-let [element (util/app-scroll-container-node)]
(common-handler/listen-to-scroll! element))) [])
[:div.h-full {:class (when (contains? #{"search"} tab)
"mt-16")}
[:div.h-full {:class (if (contains? #{"search"} tab)
"mt-16"
"mt-24")}
(mobile-header/header current-repo tab)
(main-content tab route-match)]))