summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/settings/SettingWatchFace.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2022-10-11 21:36:31 +0200
committerJean-François Milants <jf@codingfield.com>2022-10-11 21:36:31 +0200
commiteb0af22ecf66957b9341521990c49a6d1d5d70e3 (patch)
tree269d1925185cd8d10cd39eb86f23c1170e40548e /src/displayapp/screens/settings/SettingWatchFace.h
parent8c7be1fbb1d172ffc5cf99ec2b013f11f35dc421 (diff)
Watch face settings : disable watch faces that are not available (external resources are not installed).
Diffstat (limited to 'src/displayapp/screens/settings/SettingWatchFace.h')
-rw-r--r--src/displayapp/screens/settings/SettingWatchFace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/settings/SettingWatchFace.h b/src/displayapp/screens/settings/SettingWatchFace.h
index 7d14554e..158397f8 100644
--- a/src/displayapp/screens/settings/SettingWatchFace.h
+++ b/src/displayapp/screens/settings/SettingWatchFace.h
@@ -16,13 +16,14 @@ namespace Pinetime {
class SettingWatchFace : public Screen {
public:
- SettingWatchFace(DisplayApp* app, Pinetime::Controllers::Settings& settingsController);
+ SettingWatchFace(DisplayApp* app, Pinetime::Controllers::Settings& settingsController, Pinetime::Controllers::FS& filesystem);
~SettingWatchFace() override;
bool OnTouchEvent(TouchEvents event) override;
private:
Controllers::Settings& settingsController;
+ Pinetime::Controllers::FS& filesystem;
ScreenList<2> screens;
static constexpr const char* title = "Watch face";