fix(android): set assist URI for profile page

This commit is contained in:
Harsh Shandilya 2023-05-18 00:04:25 +05:30
parent 7624fa204d
commit e33768d9ca
No known key found for this signature in database

View file

@ -209,6 +209,7 @@ fun LobstersApp(
listOf(navDeepLink { uriPattern = "$uri/u/${Destinations.User.placeholder}" }),
) { backStackEntry ->
val username = requireNotNull(backStackEntry.arguments?.getString("username"))
setWebUri("https://lobste.rs/u/$username")
UserProfile(
username = username,
getProfile = viewModel::getUserProfile,