[fix] Unable to load related list when entering the video from the homepage
This commit is contained in:
		| @@ -24,6 +24,7 @@ _🚀This is the client of the multimedia server Abyss, which can also be extend | |||||||
| ### High Priority | ### High Priority | ||||||
| - [x] Fix tablet full-screen mode bug | - [x] Fix tablet full-screen mode bug | ||||||
| - [x] Hide private key after user input | - [x] Hide private key after user input | ||||||
|  | - [ ] Optimize API call logic, do not create crashes | ||||||
| - [ ] Replace Android robot icon with custom design | - [ ] Replace Android robot icon with custom design | ||||||
| - [ ] Configure server baseURL in client settings | - [ ] Configure server baseURL in client settings | ||||||
| - [ ] Implement proper access control for directory queries | - [ ] Implement proper access control for directory queries | ||||||
|   | |||||||
| @@ -25,6 +25,7 @@ import androidx.compose.ui.unit.sp | |||||||
| import androidx.lifecycle.viewmodel.compose.viewModel | import androidx.lifecycle.viewmodel.compose.viewModel | ||||||
| import androidx.navigation.NavController | import androidx.navigation.NavController | ||||||
| import com.acitelight.aether.Global | import com.acitelight.aether.Global | ||||||
|  | import com.acitelight.aether.service.MediaManager | ||||||
| import com.acitelight.aether.service.RecentManager | import com.acitelight.aether.service.RecentManager | ||||||
| import com.acitelight.aether.viewModel.HomeScreenViewModel | import com.acitelight.aether.viewModel.HomeScreenViewModel | ||||||
|  |  | ||||||
| @@ -55,6 +56,7 @@ fun HomeScreen(homeScreenViewModel: HomeScreenViewModel = viewModel(), navContro | |||||||
|                             .padding(horizontal = 12.dp), |                             .padding(horizontal = 12.dp), | ||||||
|                         i, |                         i, | ||||||
|                         { |                         { | ||||||
|  |                             Global.sameClassVideos = recent | ||||||
|                             val route = "video_player_route/${ "${i.klass}/${i.id}".toHex() }" |                             val route = "video_player_route/${ "${i.klass}/${i.id}".toHex() }" | ||||||
|                             navController.navigate(route) |                             navController.navigate(route) | ||||||
|                         }) |                         }) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 acite
					acite