summaryrefslogtreecommitdiff
path: root/src/ui/include/screen_splash.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-03-21 10:50:23 +1100
committerjacqueline <me@jacqueline.id.au>2024-03-21 10:50:23 +1100
commit684ff50ef4931aeb8cfb15c5a2d62e55520f04a5 (patch)
treed7dc003eb1fd7b1a4960cb05d8084f18ddf64b72 /src/ui/include/screen_splash.hpp
parent21ae6a962623c9128fbb4a599cc50a2c616e9884 (diff)
downloadtangara-fw-684ff50ef4931aeb8cfb15c5a2d62e55520f04a5.tar.gz
Add support for screens declaring that they can't be popped
Needed as prep for usb msc support; you really shouldn't leave the MSC settings screen until you've disabled usb msc.
Diffstat (limited to 'src/ui/include/screen_splash.hpp')
-rw-r--r--src/ui/include/screen_splash.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/include/screen_splash.hpp b/src/ui/include/screen_splash.hpp
index 1ee7dd89..6e746345 100644
--- a/src/ui/include/screen_splash.hpp
+++ b/src/ui/include/screen_splash.hpp
@@ -20,6 +20,8 @@ class Splash : public Screen {
Splash();
~Splash();
+ auto canPop() -> bool override { return false; }
+
private:
lv_obj_t* container_;
lv_obj_t* label_;