v2.4.0: fixed power saver showing up on iOS devices

This commit is contained in:
Evan Debenham
2024-04-20 13:40:23 -04:00
committed by Evan Debenham
parent 32a1e46311
commit 5bc753f3b1

View File

@@ -257,7 +257,7 @@ public class WndSettings extends WndTabbed {
// this is being phased out as the setting is useless on all but very old devices anyway
// and support is going to be dropped for 4.3- in the forseeable future
if (DeviceCompat.isAndroid() && PixelScene.maxScreenZoom >= 2
&& SPDSettings.powerSaver() || !DeviceCompat.supportsFullScreen()) {
&& (SPDSettings.powerSaver() || !DeviceCompat.supportsFullScreen())) {
chkSaver = new CheckBox(Messages.get(this, "saver")) {
@Override
protected void onClick() {