feat(ui): Implement Favorites Screen, Action Sheet Sync
Key Changes
1. New Feature: Favorites Screen
- Added FavoritesFragment and FavoritesViewModel.
- Updated ProfileFragment to navigate to the new Favorites screen via the "My Favorites" button.
- Reused the existing grid layout and adapter for consistency.
2. UI/UX Polish: Action Bottom Sheet
- Visual Feedback: The "Like" star now turns Gold/Yellow and text changes to "Liked" when active.
- Watchlist Feedback: The icon changes to a Teal Checkmark (ic_check) and text changes to "Added" when active.
- State Sync: Implemented logic to observe uiState immediately upon opening the sheet, ensuring icons reflect the true database state.
3. Logic & Architecture
- Database Sync: Added checkDatabaseStatus() in DetailsViewModel to force a fresh lookup of Like/Watchlist status when the Bottom Sheet opens.
- Refactor: Updated toggle functions to accept Movie objects directly, preventing "Unresolved Reference" errors during state updates.
- Conflict Resolution: Merged origin/main and resolved conflicts in ViewModelFactory and SearchViewModel to integrate with recent team changes.
Assets Added
- drawable/ic_check.xml: New vector icon for the "Added to Watchlist" state.