@@ -3,6 +3,7 @@ package to.bitkit.ui
33import android.content.Intent
44import androidx.compose.foundation.layout.Box
55import androidx.compose.foundation.layout.fillMaxSize
6+ import androidx.compose.material3.DrawerState
67import androidx.compose.material3.DrawerValue
78import androidx.compose.material3.rememberDrawerState
89import androidx.compose.runtime.Composable
@@ -16,6 +17,7 @@ import androidx.compose.runtime.mutableStateOf
1617import androidx.compose.runtime.remember
1718import androidx.compose.runtime.rememberCoroutineScope
1819import androidx.compose.runtime.setValue
20+ import androidx.compose.ui.Alignment
1921import androidx.compose.ui.Modifier
2022import androidx.compose.ui.platform.LocalContext
2123import androidx.core.net.toUri
@@ -455,7 +457,7 @@ fun ContentView(
455457 rootNavController = navController,
456458 hasSeenWidgetsIntro = hasSeenWidgetsIntro,
457459 hasSeenShopIntro = hasSeenShopIntro,
458- modifier = androidx.compose.ui. Modifier .align(androidx.compose.ui. Alignment .TopEnd ),
460+ modifier = Modifier .align(Alignment .TopEnd ),
459461 )
460462 }
461463 }
@@ -465,7 +467,7 @@ fun ContentView(
465467@Composable
466468private fun RootNavHost (
467469 navController : NavHostController ,
468- drawerState : androidx.compose.material3. DrawerState ,
470+ drawerState : DrawerState ,
469471 walletViewModel : WalletViewModel ,
470472 appViewModel : AppViewModel ,
471473 activityListViewModel : ActivityListViewModel ,
@@ -654,11 +656,11 @@ private fun RootNavHost(
654656 )
655657 }
656658 navigationWithDefaultTransitions<Routes .ExternalNav >(
657- startDestination = Routes . ExternalConnection (),
659+ startDestination = ExternalConnection (),
658660 ) {
659- composableWithDefaultTransitions<Routes . ExternalConnection > {
661+ composableWithDefaultTransitions<ExternalConnection > {
660662 val parentEntry = remember(it) { navController.getBackStackEntry(Routes .ExternalNav ) }
661- val route = it.toRoute<Routes . ExternalConnection >()
663+ val route = it.toRoute<ExternalConnection >()
662664 val viewModel = hiltViewModel<ExternalNodeViewModel >(parentEntry)
663665
664666 ExternalConnectionScreen (
@@ -733,7 +735,7 @@ private fun NavGraphBuilder.home(
733735 activityListViewModel : ActivityListViewModel ,
734736 settingsViewModel : SettingsViewModel ,
735737 navController : NavHostController ,
736- drawerState : androidx.compose.material3. DrawerState ,
738+ drawerState : DrawerState ,
737739) {
738740 composable<Routes .Home > {
739741 HomeNav (
0 commit comments