From 7f96776c158aef968a63bbfe6b6185b4ea9796b7 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Wed, 22 Dec 2021 16:54:16 +0800 Subject: [PATCH] enhance: disable tooltip on mobile --- src/main/frontend/state.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/state.cljs b/src/main/frontend/state.cljs index 84570fbce..4f3f3ebf8 100644 --- a/src/main/frontend/state.cljs +++ b/src/main/frontend/state.cljs @@ -1238,7 +1238,7 @@ (defn enable-tooltip? [] - (if (util/mobile?) + (if (or (util/mobile?) (mobile-util/is-native-platform?)) false (get (get (sub-config) (get-current-repo)) :ui/enable-tooltip?