Remove explicit type argument.

Change-Id: Id02756d780309af6638698de856b563d9e775cc3
pull/1258/head
Jaehwa Noh 9 months ago
parent 8cfd42453c
commit e017b84a12

@ -214,7 +214,7 @@ class NiaAppStateTest {
@Composable @Composable
private fun rememberTestNavController(): TestNavHostController { private fun rememberTestNavController(): TestNavHostController {
val context = LocalContext.current val context = LocalContext.current
return remember<TestNavHostController> { return remember {
TestNavHostController(context).apply { TestNavHostController(context).apply {
navigatorProvider.addNavigator(ComposeNavigator()) navigatorProvider.addNavigator(ComposeNavigator())
graph = createGraph(startDestination = "a") { graph = createGraph(startDestination = "a") {

Loading…
Cancel
Save