diff options
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
| -rw-r--r-- | src/displayapp/screens/StopWatch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h index c3550fc4..b3bbba87 100644 --- a/src/displayapp/screens/StopWatch.h +++ b/src/displayapp/screens/StopWatch.h @@ -59,10 +59,12 @@ namespace Pinetime { lv_task_t* taskRefresh; }; } + template <> struct AppTraits<Apps::StopWatch> { static constexpr Apps app = Apps::StopWatch; static constexpr const char* icon = Screens::Symbols::stopWatch; + static Screens::Screen* Create(AppControllers& controllers) { return new Screens::StopWatch(*controllers.systemTask); }; |
