@@ -164,13 +164,6 @@ fun HomeScreen(
164164 walletViewModel.onPullToRefresh()
165165 homeViewModel.refreshWidgets()
166166 },
167- onClickProfile = {
168- if (! hasSeenProfileIntro) {
169- rootNavController.navigate(Routes .ProfileIntro )
170- } else {
171- rootNavController.navigate(Routes .CreateProfile )
172- }
173- },
174167 onRemoveSuggestion = { suggestion ->
175168 homeViewModel.removeSuggestion(suggestion)
176169 },
@@ -278,7 +271,6 @@ private fun Content(
278271 drawerState : DrawerState ,
279272 hazeState : HazeState = rememberHazeState(),
280273 latestActivities : List <Activity >? ,
281- onClickProfile : () -> Unit = {},
282274 onRefresh : () -> Unit = {},
283275 onRemoveSuggestion : (Suggestion ) -> Unit = {},
284276 onClickSuggestion : (Suggestion ) -> Unit = {},
@@ -297,7 +289,6 @@ private fun Content(
297289 val heightStatusBar = WindowInsets .statusBars.asPaddingValues().calculateTopPadding()
298290 TopBar (
299291 hazeState = hazeState,
300- onClickProfile = onClickProfile,
301292 rootNavController = rootNavController,
302293 scope = scope,
303294 drawerState = drawerState,
@@ -616,7 +607,6 @@ private fun Widgets(homeUiState: HomeUiState) {
616607@OptIn(ExperimentalMaterial3Api ::class )
617608private fun TopBar (
618609 hazeState : HazeState ,
619- onClickProfile : () -> Unit ,
620610 rootNavController : NavController ,
621611 scope : CoroutineScope ,
622612 drawerState : DrawerState ,
0 commit comments