fix: restore compilation (#534)

Remove the stale navigation callback left behind after sorting moved into the album screen. This restores compilation on master and unblocks CI.
This commit is contained in:
Malteish authored and GitHub committed 2026-07-28 21:38:04 -07:00
1 parent e7d5022d02
commit 8e8be164bd
1 file changed
+1 -4
@@ -165,7 +165,7 @@ fun NavigationGraph(
popEnterTransition = enterBackward,
popExitTransition = exitBackward
) { backStackEntry ->
val route = backStackEntry.toRoute<AlbumRoute>()
backStackEntry.toRoute<AlbumRoute>()
AlbumViewScreen(
onBackClick = { navController.popBackStack() },
onNavigateToFolder = { folderId ->
@@ -173,9 +173,6 @@ fun NavigationGraph(
},
onNavigateToWallpaperView = { wallpaperUri, wallpaperName ->
navController.navigate(WallpaperViewRoute(wallpaperUri, wallpaperName))
},
onNavigateToSort = {
navController.navigate(SortRoute(route.albumId))
}
)
}