Skip to content

Commit cff7f58

Browse files
committed
fix(ui): adjust icon size for header and NativeTopBarPlugin
1 parent cd1a992 commit cff7f58

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

android/app/src/main/java/com/logseq/app/NativeTopBarPlugin.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ private fun TopBarButton(
333333
) {
334334
if (icon != null) {
335335
val iconSize = when (spec.size.lowercase()) {
336-
"xsmall" -> 12.dp
337-
"small" -> 16.dp
336+
"small" -> 12.dp
338337
else -> 22.dp
339338
}
340339

src/main/mobile/components/header.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
(conj {:id "home-setting" :systemIcon "ellipsis"})
180180
(and show-sync? (not page?))
181181
(conj {:id "sync" :systemIcon "circle.fill" :color sync-color
182-
:size "xsmall"}))
182+
:size "small"}))
183183

184184
(= tab "graphs")
185185
[{:id "graph-setting" :systemIcon "ellipsis"}

0 commit comments

Comments
 (0)