Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e10058e authored by Alex Newcomer's avatar Alex Newcomer
Browse files

Refactor BrightnessDialog layout calculations

Simplifies the usage of the `margin` variable within the `setBrightnessDialogViewAttributes` method. Since this variable was always initialized to 0 and never modified, its use in width calculations and for setting gesture exclusion rectangle bounds was effectively a no-op.

Flag: EXEMPT - just a small refactor
Bug: None
Change-Id: I7d66c1ae27aa92e43b597ce2c78b95e18feb5091
parent 3802311a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment