Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afbd026c authored by Robert Burns's avatar Robert Burns
Browse files

Display lock screen widget maximize for phone only

- Hide the option when not utilizing a phone device, as widgets are already maximized

Change-Id: Id6700b31fbd108851c846f68cc9d845fb8b3830f
parent d1f40b2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ public class LockscreenInterface extends SettingsPreferenceFragment implements
        }

        mMaximizeWidgets = (CheckBoxPreference)findPreference(KEY_LOCKSCREEN_MAXIMIZE_WIDGETS);
        if (Utils.isTablet(getActivity())) {
        if (!Utils.isPhone(getActivity())) {
            getPreferenceScreen().removePreference(mMaximizeWidgets);
            mMaximizeWidgets = null;
        } else {