aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Timer.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-11-01 21:06:26 +0100
committerJF <JF002@users.noreply.github.com>2023-11-19 21:13:55 +0100
commit473d9c4fa4d887275eafa9a2f4ef98b3e18695a7 (patch)
treed0ea2ff836a8efdbea5558a3d491760ccdd4d2ba /src/displayapp/screens/Timer.h
parent97ba1a456df385798875c41b29e17273bac92c2d (diff)
Fix code formatting
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);
+ };
};
}