example 'meshtastic': add message font size dialog (in main menu)

This commit is contained in:
pls.153 2023-08-28 18:37:59 +02:00
parent 9453b7dc7d
commit 5291949358
15 changed files with 223 additions and 23 deletions

View file

@ -99,7 +99,7 @@ it saves uploaded files on the server."
(let ((data.zip (x:cc "data/" app:*backup-data-file*)))
(x:when-it (probe-file data.zip)
(qml:qlog "data file found, unzipping...")
(app:unzip x:it (app:in-data-path ""))
(app:unzip x:it (app:in-data-path))
(delete-file x:it)
(app:toast (qml:tr "Data uploaded, closing app..."))
(qml:qlog "closing app...")
@ -121,7 +121,7 @@ it saves uploaded files on the server."
(register-context-handler *web-server* "/" 'static-resource/upload-handler
:arguments (list *default-pathname-defaults*))))
(x:when-it (app:my-ip)
(app:toast (format nil "http://~A:1701" x:it) 0)))
(app:message-dialog (format nil "http://~A:1701" x:it))))
(defun stop ()
(stop-server *web-server*)