Hi guys, I am porting my plugin from Sketch 66 to latest Sketch, Version 2025.1.3 (203472).
I am facing an issue this this line of code:
layer.setIsVisible(false);
no effect at all.
But if I hide layer with Command+Shift+h
and then call layer.setIsVisible(true);
in my plugin the layer gets visible.
Please help.