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

Skip to content
Commit 4259f457 authored by LuK1337's avatar LuK1337 Committed by Luca Stefani
Browse files

SystemUI: Avoid adding useless empty quick settings page

* Previously the code would work this way:
  if nTiles == nPages * nRows * nCols we aren't
  adding additional page but otherwise we add a
  single empty page.
* Now that I'm basically always rounding
  nTiles / (nPages * nRows * nCols) the numPages
  variable is initialized to proper value.

Change-Id: Ie352f51d985f3ed97dc645bc18645894201998ff
parent 7aa0df5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment