From 26bddf1ab9ddf6b904475cec1be6c0387a39b5a8 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 9 May 2024 12:41:58 -0400 Subject: [PATCH] More work on horizon watchface --- src/displayapp/screens/WatchFaceHorizon.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/displayapp/screens/WatchFaceHorizon.h b/src/displayapp/screens/WatchFaceHorizon.h index c909255a..ebc61b05 100644 --- a/src/displayapp/screens/WatchFaceHorizon.h +++ b/src/displayapp/screens/WatchFaceHorizon.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include @@ -92,14 +92,14 @@ namespace Pinetime { struct WatchFaceTraits { static constexpr WatchFace watchFace = WatchFace::Horizon; static constexpr const char* name = "Horizon"; - - static Screens::Screen* Create;/*(AppControllers& controllers) { + + static Screens::Screen* Create(AppControllers& controllers) { return new Screens::WatchFaceHorizon(controllers.dateTimeController, controllers.batteryController, controllers.settingsController, controllers.motionController, controllers.filesystem); - };*/ + }; static bool IsAvailable(Pinetime::Controllers::FS& filesystem) { return Screens::WatchFaceHorizon::IsAvailable(filesystem);