Skip to content

Commit

Permalink
Merge pull request #546 from QuarkZ26/master
Browse files Browse the repository at this point in the history
Bug fix for #519
  • Loading branch information
timschneeb authored Sep 5, 2024
2 parents e9daafc + afe75d2 commit 4cebad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GalaxyBudsClient/Utils/Interface/WindowIconRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void UpdateDynamicIcon(IBasicStatusUpdate status)

int? level = Settings.Data.DynamicTrayIconMode switch
{
DynamicTrayIconModes.BatteryMin => Math.Min(batteryLeft, batteryLeft),
DynamicTrayIconModes.BatteryMin => Math.Min(batteryLeft, batteryRight),
DynamicTrayIconModes.BatteryAvg => (batteryLeft + batteryRight) / 2,
_ => null
};
Expand Down

0 comments on commit 4cebad3

Please sign in to comment.