File tree Expand file tree Collapse file tree
app/src/main/java/to/bitkit/ui/screens/wallets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,7 +169,11 @@ fun HomeScreen(
169169 homeViewModel.refreshWidgets()
170170 },
171171 onClickProfile = {
172- rootNavController.navigate(Routes .Profile )
172+ if (! hasSeenProfileIntro) {
173+ rootNavController.navigate(Routes .ProfileIntro )
174+ } else {
175+ rootNavController.navigate(Routes .CreateProfile )
176+ }
173177 },
174178 onRemoveSuggestion = { suggestion ->
175179 homeViewModel.removeSuggestion(suggestion)
@@ -210,7 +214,11 @@ fun HomeScreen(
210214 }
211215
212216 Suggestion .PROFILE -> {
213- rootNavController.navigate(Routes .Profile )
217+ if (! hasSeenProfileIntro) {
218+ rootNavController.navigate(Routes .ProfileIntro )
219+ } else {
220+ rootNavController.navigate(Routes .CreateProfile )
221+ }
214222 }
215223
216224 Suggestion .SHOP -> {
You can’t perform that action at this time.
0 commit comments