aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/Timer.h')
-rw-r--r--src/displayapp/screens/Timer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/displayapp/screens/Timer.h b/src/displayapp/screens/Timer.h
index f8e337c2..409cae1c 100644
--- a/src/displayapp/screens/Timer.h
+++ b/src/displayapp/screens/Timer.h
@@ -10,7 +10,7 @@
#include "components/timer/Timer.h"
#include "Symbols.h"
-namespace Pinetime::Applications{
+namespace Pinetime::Applications {
namespace Screens {
class Timer : public Screen {
public:
@@ -46,10 +46,13 @@ namespace Pinetime::Applications{
};
}
- template<>
+ template <>
struct AppTraits<Apps::Timer> {
static constexpr Apps app = Apps::Timer;
static constexpr const char* icon = Screens::Symbols::hourGlass;
- static Screens::Screen *Create(AppControllers& controllers) { return new Screens::Timer(controllers.timer); };
+
+ static Screens::Screen* Create(AppControllers& controllers) {
+ return new Screens::Timer(controllers.timer);
+ };
};
}