diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-22 22:18:15 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-25 16:56:03 +0200 |
| commit | c78211952efa07bf2f7b648493e5cbd90331672d (patch) | |
| tree | 6258db2c204ebe35973d43010eb4dd292eeefb29 /src/displayapp/screens/BatteryInfo.cpp | |
| parent | 7c7a8602c473bc160506e064097bd9ecc204425b (diff) | |
screens: Remove explicit Screen constructors
This constructor didn't do anything since DisplayApp reference was
removed from the Screen base class.
Diffstat (limited to 'src/displayapp/screens/BatteryInfo.cpp')
| -rw-r--r-- | src/displayapp/screens/BatteryInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/BatteryInfo.cpp b/src/displayapp/screens/BatteryInfo.cpp index 9d1d3bf3..1ed6172d 100644 --- a/src/displayapp/screens/BatteryInfo.cpp +++ b/src/displayapp/screens/BatteryInfo.cpp @@ -6,7 +6,7 @@ using namespace Pinetime::Applications::Screens; BatteryInfo::BatteryInfo(Pinetime::Applications::DisplayApp* app, const Pinetime::Controllers::Battery& batteryController) - : Screen(app), batteryController {batteryController} { + : batteryController {batteryController} { batteryPercent = batteryController.PercentRemaining(); batteryVoltage = batteryController.Voltage(); |
