Closed moyogii closed 3 months ago
A new case "LegionBatteryChargeLimit"
has been added to the SettingsManager_SettingValueChanged
method in the DevicePage.xaml.cs
file. This case updates the Toggle_LegionBatteryChargeLimit
control based on the boolean value converted from the incoming value
.
File | Change Summary |
---|---|
HandheldCompanion/Views/Pages/... |
Added a new case "LegionBatteryChargeLimit" to handle setting changes for Toggle_LegionBatteryChargeLimit control. |
In code's vast realm, a change so neat,
A toggle switch now takes its seat.
For Legion's charge, a limit set,
Ensuring power, no regret.
With settings fine-tuned, we delight,
Our devices ready, day and night.
🌟🔋🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This MR fixes a bug reported where if you toggled the 80% battery charge limit for the Legion Go it would reset back to off after restarting HandheldCompanion.
Summary by CodeRabbit