mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-20 02:21:09 +00:00
0.1.26-alpha release
* refactor: render chat rows from presentation state * Fix Meshtastic channel sync and add MeshCore CN preset * Add granular chat notification settings * Add SD settings backup and restore * Prepare 0.1.26-alpha release --------- Co-authored-by: vicliu624 <vicliu@outlook.com>
This commit is contained in:
@@ -14,12 +14,15 @@
|
||||
#include "ui/ui_status.h"
|
||||
#include "ui/watch_face.h"
|
||||
#include "ui/widgets/system_notification.h"
|
||||
#include "ui_lvgl_ux_packs/ux/ux_menu_provider.h"
|
||||
|
||||
namespace ui::startup_shell
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
||||
ui::menu::MenuModel s_ux_menu_model;
|
||||
|
||||
bool resolve_display_time(struct tm* out_tm)
|
||||
{
|
||||
if (!out_tm)
|
||||
@@ -152,6 +155,11 @@ void initializeShell(const Hooks& hooks)
|
||||
ui::menu_layout::InitOptions menu_options{};
|
||||
menu_options.messaging = hooks.messaging;
|
||||
menu_options.apps = hooks.apps;
|
||||
if (hooks.ux_pack_id != nullptr &&
|
||||
ui_lvgl_ux::buildMenuForUxPack(hooks.ux_pack_id, s_ux_menu_model))
|
||||
{
|
||||
menu_options.ux_menu = &s_ux_menu_model;
|
||||
}
|
||||
ui::menu_layout::init(menu_options);
|
||||
|
||||
ui::menu_runtime::init(
|
||||
|
||||
Reference in New Issue
Block a user