summaryrefslogtreecommitdiff
path: root/src/ui/screen_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/screen_menu.cpp')
-rw-r--r--src/ui/screen_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/screen_menu.cpp b/src/ui/screen_menu.cpp
index 7134a452..3d36c017 100644
--- a/src/ui/screen_menu.cpp
+++ b/src/ui/screen_menu.cpp
@@ -31,8 +31,8 @@ static void now_playing_click_cb(lv_event_t* ev) {
}
static void settings_click_callback(lv_event_t* ev) {
- std::shared_ptr<Screen> settings{new Settings()};
- events::Ui().Dispatch(internal::ShowSettingsPage{.screen = settings});
+ events::Ui().Dispatch(internal::ShowSettingsPage{
+ .page = internal::ShowSettingsPage::Page::kRoot});
}
static void index_click_cb(lv_event_t* ev) {