diff options
Diffstat (limited to 'src/ui/ui_fsm.cpp')
| -rw-r--r-- | src/ui/ui_fsm.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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<screens::Menu>(db->GetIndexes())); } +void Browse::react(const internal::ShowNowPlaying& ev) { + transit<Playing>(); +} + +void Browse::react(const internal::ShowSettingsPage& ev) { + PushScreen(ev.screen); +} + void Browse::react(const internal::RecordSelected& ev) { auto db = sDb.lock(); if (!db) { |
