Commit baabcfe3 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

lockscreen: Only show widescreen mode for short height devices

parent 75e5b791
Pipeline #202970 passed with stage
in 1 minute and 55 seconds
......@@ -26,7 +26,8 @@ PlasmaCore.ColorScope {
property var lockScreenState: LockScreenState {}
property var notifModel: Notifications.WatchedNotificationsModel {}
property bool isWidescreen: root.height < root.width * 0.75
// only show widescreen mode for short height devices (ex. phone landscape)
property bool isWidescreen: root.height < 720 && (root.height < root.width * 0.75)
property bool notificationsShown: false
readonly property bool drawerOpen: flickable.openFactor >= 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment