mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 16:33:27 +00:00
- RobohashAssembler read up to hash[10] but only required the input to be >10 chars; a 16-char NIP-29 group id is valid hex that decodes to 8 bytes, so hash[8] threw ArrayIndexOutOfBoundsException and crashed the discovery feed. Require >=22 hex chars (>=11 bytes) before decoding; anything shorter falls back to sha256 (32 bytes). Latent crash for any short hex seed. - The discovery screen used a hand-rolled ShorterTopAppBar (dropping the standard search icon + memory chip) to fit a browse action. Switched to the shared UserDrawerSearchTopBar like every other top-level feed; the browse-a-relay action moved to the FAB (DisappearingScaffold.floatingButton). - Removed the extra Column(Modifier.padding(padding)) wrapper that double- applied the top-bar inset (rememberFeedContentPadding already accounts for it) — that was the large blank block above the first card. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B5MLY4hq5LXJ2D5WeLRyXj