From 795f26873742eaad7ce53084052d988a0fd542f8 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 25 Aug 2023 15:13:25 +1000 Subject: Add placeholder settings UI --- src/ui/ui_fsm.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/ui/ui_fsm.cpp') diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp index 8b2d3a3c..e8660207 100644 --- a/src/ui/ui_fsm.cpp +++ b/src/ui/ui_fsm.cpp @@ -21,6 +21,7 @@ #include "screen.hpp" #include "screen_menu.hpp" #include "screen_playing.hpp" +#include "screen_settings.hpp" #include "screen_splash.hpp" #include "screen_track_browser.hpp" #include "source.hpp" @@ -137,6 +138,14 @@ void Browse::react(const system_fsm::StorageMounted& ev) { PushScreen(std::make_shared(db->GetIndexes())); } +void Browse::react(const internal::ShowNowPlaying& ev) { + transit(); +} + +void Browse::react(const internal::ShowSettingsPage& ev) { + PushScreen(ev.screen); +} + void Browse::react(const internal::RecordSelected& ev) { auto db = sDb.lock(); if (!db) { -- cgit v1.2.3