mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Update IconShape usage to use INSTANCE for context-aware method call
This commit is contained in:
@@ -139,7 +139,7 @@ public class FolderAdaptiveIcon extends CustomAdaptiveIconDrawable {
|
||||
|
||||
Path bgPath = new Path();
|
||||
int radius = bg.getRadius();
|
||||
IconShape.getShape().addToPath(
|
||||
IconShape.INSTANCE.get (icon.getContext()).getShape().addToPath(
|
||||
bgPath,
|
||||
dragViewSize.x / 2f - radius,
|
||||
dragViewSize.y / 2f - radius,
|
||||
|
||||
Reference in New Issue
Block a user