screens: Remove explicit Screen constructors
This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
This commit is contained in:
parent
7c7a8602c4
commit
c78211952e
33 changed files with 32 additions and 44 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue