Turn on flashlight on flashlight app launch

This commit is contained in:
josh 2023-09-23 22:25:36 -04:00
parent 4449a48de7
commit 1fbd00b43d

View File

@ -47,6 +47,8 @@ FlashLight::FlashLight(System::SystemTask& systemTask, Controllers::BrightnessCo
lv_obj_set_event_cb(backgroundAction, EventHandler); lv_obj_set_event_cb(backgroundAction, EventHandler);
systemTask.PushMessage(Pinetime::System::Messages::DisableSleeping); systemTask.PushMessage(Pinetime::System::Messages::DisableSleeping);
Toggle();
} }
FlashLight::~FlashLight() { FlashLight::~FlashLight() {