diff --git a/packages/omamobile-omarchy/patches/0023-lock-a-glance-view-for-touch-only-devices.patch b/packages/omamobile-omarchy/patches/0023-lock-a-glance-view-for-touch-only-devices.patch index f01017d6b..4526f44dd 100644 --- a/packages/omamobile-omarchy/patches/0023-lock-a-glance-view-for-touch-only-devices.patch +++ b/packages/omamobile-omarchy/patches/0023-lock-a-glance-view-for-touch-only-devices.patch @@ -982,7 +982,17 @@ } function submitPassword(value) { -@@ -903,7 +914,18 @@ +@@ -510,6 +521,9 @@ + LockView { + id: lockView + keypad: root.keypad ++ wakeSerial: root.wakeSerial ++ blankSerial: root.blankSerial ++ displayDark: root.displayDark + anchors.fill: parent + backgroundPath: root.backgroundPath + videoPosterPath: root.videoPosterPath +@@ -903,7 +917,18 @@ // it and re-arm the blank timer (a phone's power button). function wake(): string { if (!root.currentlyLocked()) return "unlocked" diff --git a/packages/omamobile-omarchy/test/port45.py b/packages/omamobile-omarchy/test/port45.py index 761ae47b7..0f892d058 100644 --- a/packages/omamobile-omarchy/test/port45.py +++ b/packages/omamobile-omarchy/test/port45.py @@ -98,6 +98,13 @@ def actual(t, ex, version, make_root, run, ok, read, series, package, parse_qml) and 'if (root.displayDark && !root.darkTapWakes()) return' in view and 'if (lock.darkTapWakes()) {' in read(root, lock + 'LockGlance.qml'), 'real4.5: a dark touch-only lock leaves the double tap to omamobile-doubletap (0029)') + # The lock sets these three in Service.qml; its lock surface's view only + # hears of a wake or a dark screen if they are passed in. + lock_wiring = read(root, lock + 'Service.qml') + ok('wakeSerial: root.wakeSerial' in lock_wiring + and 'blankSerial: root.blankSerial' in lock_wiring + and 'displayDark: root.displayDark' in lock_wiring, + 'real4.5: the lock passes its wake, blank and dark state to the lock view (0023)') about = read(root, 'usr/bin/omarchy-launch-about') ok('layout_room()' in about and 'about_fastfetch "${logo_args[@]}"' in about and 'about_fastfetch "${measure_args[@]}" --pipe false' in about, diff --git a/packages/omamobile-omarchy/version b/packages/omamobile-omarchy/version index 5946febf1..352e98e2f 100644 --- a/packages/omamobile-omarchy/version +++ b/packages/omamobile-omarchy/version @@ -1 +1 @@ -0.1.48 +0.1.49