aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/SystemInfo.h
diff options
context:
space:
mode:
authorNeroBurner <pyro4hell@gmail.com>2024-09-29 19:39:14 +0200
committerGitHub <noreply@github.com>2024-09-29 19:39:14 +0200
commit3db4e012ceb38602912edad75ccbbcd8834bcae6 (patch)
tree6e81aeef0e7f6d0a2995f6ccd7b495899c3dea2a /src/displayapp/screens/SystemInfo.h
parenta0cd439efc9b0d0d9610dea7ff749f102d5a316d (diff)
Remove unused pointer to DisplayApp member variables (#2125)
In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused.
Diffstat (limited to 'src/displayapp/screens/SystemInfo.h')
-rw-r--r--src/displayapp/screens/SystemInfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/displayapp/screens/SystemInfo.h b/src/displayapp/screens/SystemInfo.h
index 3129c463..301662dc 100644
--- a/src/displayapp/screens/SystemInfo.h
+++ b/src/displayapp/screens/SystemInfo.h
@@ -35,7 +35,6 @@ namespace Pinetime {
bool OnTouchEvent(TouchEvents event) override;
private:
- DisplayApp* app;
Pinetime::Controllers::DateTime& dateTimeController;
const Pinetime::Controllers::Battery& batteryController;
Pinetime::Controllers::BrightnessController& brightnessController;