fix(ui): adjust icon size for header and NativeTopBarPlugin

This commit is contained in:
charlie
2026-05-09 16:51:41 +08:00
parent cd1a9926e2
commit cff7f58d46
2 changed files with 2 additions and 3 deletions

View File

@@ -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
}

View File

@@ -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"}