From cff7f58d46fee798360aee3e648b29bc567af2c6 Mon Sep 17 00:00:00 2001 From: charlie Date: Sat, 9 May 2026 16:51:41 +0800 Subject: [PATCH] fix(ui): adjust icon size for header and NativeTopBarPlugin --- android/app/src/main/java/com/logseq/app/NativeTopBarPlugin.kt | 3 +-- src/main/mobile/components/header.cljs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/android/app/src/main/java/com/logseq/app/NativeTopBarPlugin.kt b/android/app/src/main/java/com/logseq/app/NativeTopBarPlugin.kt index a878cd9bf9..8132a021e9 100644 --- a/android/app/src/main/java/com/logseq/app/NativeTopBarPlugin.kt +++ b/android/app/src/main/java/com/logseq/app/NativeTopBarPlugin.kt @@ -333,8 +333,7 @@ private fun TopBarButton( ) { if (icon != null) { val iconSize = when (spec.size.lowercase()) { - "xsmall" -> 12.dp - "small" -> 16.dp + "small" -> 12.dp else -> 22.dp } diff --git a/src/main/mobile/components/header.cljs b/src/main/mobile/components/header.cljs index 16ac8c7370..9b31f911b7 100644 --- a/src/main/mobile/components/header.cljs +++ b/src/main/mobile/components/header.cljs @@ -179,7 +179,7 @@ (conj {:id "home-setting" :systemIcon "ellipsis"}) (and show-sync? (not page?)) (conj {:id "sync" :systemIcon "circle.fill" :color sync-color - :size "xsmall"})) + :size "small"})) (= tab "graphs") [{:id "graph-setting" :systemIcon "ellipsis"}