mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
chore: make LaunchedEffect
keys consistent
This commit is contained in:
parent
847858d852
commit
9fe6e34015
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ fun LobstersPostsScreen(
|
|||
val navigationType = ClawNavigationType.fromSize(windowSizeClass.widthSizeClass)
|
||||
|
||||
val postIdOverride = context.getActivity()?.intent?.extras?.getString(MainActivity.NAVIGATION_KEY)
|
||||
LaunchedEffect(false) {
|
||||
LaunchedEffect(Unit) {
|
||||
if (postIdOverride != null) {
|
||||
navController.navigate(Comments(postIdOverride))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue