Skip to content

refactor: replace navController.navigate with navigateSafely acro…#1160

Merged
theovilardo merged 1 commit intomasterfrom
fix/predictive-back-gesture-all-screens
Feb 20, 2026
Merged

refactor: replace navController.navigate with navigateSafely acro…#1160
theovilardo merged 1 commit intomasterfrom
fix/predictive-back-gesture-all-screens

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

…ss all screens

  • Navigation:
    • Implement navigateSafely across major screens including HomeScreen, LibraryScreen, SearchScreen, AlbumDetailScreen, ArtistDetailScreen, and SettingsScreen to ensure more robust navigation transitions.
    • Update MainActivity to use navigateSafely with a retry mechanism for pending playlist navigation.
    • Update PlayerInternalNavigationBar and Drawer components to use safe navigation.
  • UI Components:
    • Refactor PlaylistContainer, SheetActionHandlers, and PlayerArtistNavigationEffect to utilize the new safe navigation extension.
    • Ensure all bottom sheet "Navigate to Artist/Album" actions use navigateSafely.

…ss all screens

- **Navigation**:
    - Implement `navigateSafely` across major screens including `HomeScreen`, `LibraryScreen`, `SearchScreen`, `AlbumDetailScreen`, `ArtistDetailScreen`, and `SettingsScreen` to ensure more robust navigation transitions.
    - Update `MainActivity` to use `navigateSafely` with a retry mechanism for pending playlist navigation.
    - Update `PlayerInternalNavigationBar` and `Drawer` components to use safe navigation.
- **UI Components**:
    - Refactor `PlaylistContainer`, `SheetActionHandlers`, and `PlayerArtistNavigationEffect` to utilize the new safe navigation extension.
    - Ensure all bottom sheet "Navigate to Artist/Album" actions use `navigateSafely`.
@theovilardo theovilardo merged commit 8cbdc45 into master Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant