Android compatibility changes

This commit is contained in:
BirDt_ 2025-09-27 09:56:59 +08:00
parent 6baffc794d
commit 0bc99bdb7e

View file

@ -102,14 +102,18 @@
(grid-make-box
`(:content ,(concat
enlight-calendar "\n\n"
(grid-make-row
(funcall (if (equal system-type 'android)
'grid-make-column
'grid-make-row)
(list (grid-make-box `(:content ,(concat
(enlight-menu
'(("Exobrain"
("Agenda" (org-agenda nil "a") "a")
("Go to Inbox" open-inbox "i")
("Capture" org-capture "c")))))
:align left
:align (if (equal system-type 'android)
'center
'left)
:width 20))
(grid-make-box `(:content ,(concat
(enlight-menu
@ -135,7 +139,9 @@
("Org Scratch" open-org-scratch "o")
("Init Dir" (dired user-emacs-directory) "e")
("Info" info "h")))))
:align right
:align (if (equal system-type 'android)
'center
'right)
:width 20)))))
))
))