Big-Sur-StatusArea icon indicating copy to clipboard operation
Big-Sur-StatusArea copied to clipboard

Remove orientation lock on devices that do not handle it

Open florentdescroix opened this issue 3 years ago • 1 comments

Hi, I have a desktop computer thus the orientation lock action is completely unecessary in my case.

To avoid having it, I modified the indicators/system.js file and put the whole block about orientation lock inside the following condition :
if (this._system._systemActions._orientationLockAction) {

I don't know if that's the actual good solution, because I can't tell if devices that have an orientation effectively have the this._system._systemActions._orientationLockAction property. But at least my system doesn't have it so it works :)

florentdescroix avatar Dec 08 '21 16:12 florentdescroix

i also have this option showing up, but greyed out.

johnmmcgee avatar Aug 10 '22 23:08 johnmmcgee