Fix: shortcuts messing up with the grid
Description
This MR is intended to fix a bug that messes up the icon grid when the user adds any second shortcut.
Related issues
Type of change
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to not work as expected) -
This change requires a documentation update
Related MRs
How has this been tested?
How to reproduce (deletion of the other shortcuts):
- Open Browser
- Add a webpage to the home screen from the menu
- Re-open the browser
- Add another web page to the home screen from the menu -> The first shortcut has been removed and you will see only the newer shortcut
How to reproduce (deletion of the other apps):
- Open Browser
- Add a webpage to the home screen from the menu
- Create a new folder with the shortcut and any other app
- Re-open the browser
- Add another web page to the home screen from the menu -> The folder (with the "old" shortcut and the other app) has been removed and you will see only the newer shortcut
Checklist:
-
My code follows the style guidelines of this project -
I have performed a self-review of my own code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation -
New and existing unit tests pass locally with my changes -
Any dependent changes have been merged and published in downstream modules
Edited by Romain Hunault