Browse Source

fix: page view title shouldn't be clickable

Tienson Qin 1 week ago
parent
commit
d459b884ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/mobile/components/header.cljs

+ 1 - 1
src/main/mobile/components/header.cljs

@@ -226,7 +226,7 @@
                           :else nil)
           header (cond-> base
                    right-buttons (assoc :rightButtons right-buttons)
-                   (= tab "home") (assoc :titleClickable true))]
+                   (and (= tab "home") (not route-view)) (assoc :titleClickable true))]
       (.configure ^js mobile-util/native-top-bar
                   (clj->js header)))))