Delete All Hidden Layers

You can delete all hidden layers (Eye icon off), by going into the Layer panel’s flyout menu (4 line icon on the top right of Layer’s panel) and choosing “Delete Hidden Layers“.