From 48b44a6e27b87ee8bf5340a8d7ff37afaf04b7f9 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 22 Oct 2026 12:04:10 +0200 Subject: Optional app PIN, settings header, pink selection ring - A PIN (4 to 8 digits, salted SHA-256 in prefs) set in Settings shows a logo splash with a PIN prompt at start and whenever the app returns after leaving the screen; Back there leaves the app. - Settings gets the back-arrow header shared with the folder grid (Ui.header) and scrolls, since the PIN fields overflow the screen. - Tile and list focus rings use the icon pink. Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-10-22-mygram-droid-design.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs') diff --git a/docs/superpowers/specs/2026-10-22-mygram-droid-design.md b/docs/superpowers/specs/2026-10-22-mygram-droid-design.md index 39c7d19..4545884 100644 --- a/docs/superpowers/specs/2026-10-22-mygram-droid-design.md +++ b/docs/superpowers/specs/2026-10-22-mygram-droid-design.md @@ -139,6 +139,18 @@ videos only, endless, paged with the same seed. - Viewer password. - Photo duration (default 8 s). - Background interval (default 15 s). +- Optional app PIN, 4 to 8 digits, typed twice; Remove PIN when one is set. +- Header with a back arrow, like the folder grid. + +### PIN lock + +- Only when a PIN is set: a splash with the logo and a PIN field covers + any screen at app start and whenever the app comes back after leaving + the screen (an Application lifecycle counter tracks started activities). +- Back on the lock screen leaves the app. +- Stored as salt plus SHA-256, never the PIN. It is a privacy screen, not + protection against someone with adb or root on the TV; clearing the + app data removes it. ## Architecture -- cgit v1.2.3