diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-06-12 18:46:07 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-06-12 18:46:07 +1000 |
| commit | e58dcf6dc5332c60a346509436f9934d9e3bbfbb (patch) | |
| tree | f1b5cf9c7d99739008ff52dbd837c574b2b0ea36 /src/tangara/ui/ui_fsm.hpp | |
| parent | 64bd9053a25297f7a442ca831c7da5b44bd33f84 (diff) | |
| download | tangara-fw-e58dcf6dc5332c60a346509436f9934d9e3bbfbb.tar.gz | |
WIP fix issues introduced by lvgl version bump
Diffstat (limited to 'src/tangara/ui/ui_fsm.hpp')
| -rw-r--r-- | src/tangara/ui/ui_fsm.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tangara/ui/ui_fsm.hpp b/src/tangara/ui/ui_fsm.hpp index aea1eb36..74c48b6e 100644 --- a/src/tangara/ui/ui_fsm.hpp +++ b/src/tangara/ui/ui_fsm.hpp @@ -32,7 +32,6 @@ #include "system_fsm/service_locator.hpp" #include "system_fsm/system_events.hpp" #include "ui/lvgl_task.hpp" -#include "ui/modal.hpp" #include "ui/screen.hpp" #include "ui/ui_events.hpp" @@ -81,13 +80,6 @@ class UiState : public tinyfsm::Fsm<UiState> { void react(const system_fsm::BluetoothEvent&); - virtual void react(const internal::ModalCancelPressed&) { - sCurrentModal.reset(); - } - virtual void react(const internal::ModalConfirmPressed&) { - sCurrentModal.reset(); - } - void react(const internal::ReindexDatabase&){}; protected: @@ -103,7 +95,6 @@ class UiState : public tinyfsm::Fsm<UiState> { static std::stack<std::shared_ptr<Screen>> sScreens; static std::shared_ptr<Screen> sCurrentScreen; - static std::shared_ptr<Modal> sCurrentModal; static std::shared_ptr<lua::LuaThread> sLua; static lua::Property sBatteryPct; |
