mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 04:07:03 +05:30
fix(android): set assist URI for profile page
This commit is contained in:
parent
7624fa204d
commit
e33768d9ca
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ fun LobstersApp(
|
||||||
listOf(navDeepLink { uriPattern = "$uri/u/${Destinations.User.placeholder}" }),
|
listOf(navDeepLink { uriPattern = "$uri/u/${Destinations.User.placeholder}" }),
|
||||||
) { backStackEntry ->
|
) { backStackEntry ->
|
||||||
val username = requireNotNull(backStackEntry.arguments?.getString("username"))
|
val username = requireNotNull(backStackEntry.arguments?.getString("username"))
|
||||||
|
setWebUri("https://lobste.rs/u/$username")
|
||||||
UserProfile(
|
UserProfile(
|
||||||
username = username,
|
username = username,
|
||||||
getProfile = viewModel::getUserProfile,
|
getProfile = viewModel::getUserProfile,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue