mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
enhance: background transition
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user