[fix] Unable to load related list when entering the video from the homepage

This commit is contained in:
acite
2025-08-25 15:35:01 +08:00
parent 287519a9d5
commit 0398caf3e5
2 changed files with 3 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ _🚀This is the client of the multimedia server Abyss, which can also be extend
### High Priority
- [x] Fix tablet full-screen mode bug
- [x] Hide private key after user input
- [ ] Optimize API call logic, do not create crashes
- [ ] Replace Android robot icon with custom design
- [ ] Configure server baseURL in client settings
- [ ] Implement proper access control for directory queries

View File

@@ -25,6 +25,7 @@ import androidx.compose.ui.unit.sp
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavController
import com.acitelight.aether.Global
import com.acitelight.aether.service.MediaManager
import com.acitelight.aether.service.RecentManager
import com.acitelight.aether.viewModel.HomeScreenViewModel
@@ -55,6 +56,7 @@ fun HomeScreen(homeScreenViewModel: HomeScreenViewModel = viewModel(), navContro
.padding(horizontal = 12.dp),
i,
{
Global.sameClassVideos = recent
val route = "video_player_route/${ "${i.klass}/${i.id}".toHex() }"
navController.navigate(route)
})