mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 20:07:59 -06:00
Create the VaultTakeoverScreen composable and ViewModel following MVVM + UDF architecture:
- VaultTakeoverViewModel: Handles user actions (Continue, Decline, Help) and emits navigation events
- VaultTakeoverScreen: Full-screen informational UI with organization transfer messaging
- VaultTakeoverState: Holds organization name (stubbed with TODO)
- VaultTakeoverEvent: Navigation events for vault, leave org, and help URI
- VaultTakeoverAction: User action types
Screen UI includes:
- Placeholder illustration (using ic_bw_passkey temporarily)
- Title and description text with org name placeholders
- Continue button (primary action)
- Decline and leave button (secondary action)
- Help link ("Why am I seeing this?")
- Proper spacing and scrollable layout
- Extracted text and action components for code length compliance
Also fixed: Renamed 'continue' string resource to 'continue_label' to avoid Java keyword conflict.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>