mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 16:33:27 +00:00
Adds an inline banner at the top of the Desktop Messages deck column that nudges users to enable the privacy lock. Fires only when !lockEnabled && !firstRunCardSeen; dismissal is sticky across restarts + lock enable/disable cycles. - MessagesFirstRunBanner: AnimatedVisibility(expandVertically + fadeIn) wrapper around a Surface + Row with a padlock icon, title, body, and Enable / Not now buttons. Modeled on OfflineBanner.kt. - SetPasswordDialog extracted from PrivacyLockSettingsScreen.kt into a shared desktop/security/ file so the banner and the settings pane both point at the same composable. - MessagesLockState.onUnlockSuccess() relaxed to accept Disabled as a valid previous state, so enabling from the banner keeps the user Unlocked and doesn't flash the lock screen. New unit test covers this path; all 9 tests green. - DesktopMessagesScreen wraps its two-pane / compact layout in a Column with the banner on top and a Box(weight(1f)) around the panes so fillMaxSize propagates correctly.