更新个人主页
This commit is contained in:
@@ -53,7 +53,7 @@ import com.aiosman.riderpro.ui.modification.EditModificationScreen
|
||||
import com.aiosman.riderpro.ui.post.NewPostImageGridScreen
|
||||
import com.aiosman.riderpro.ui.post.NewPostScreen
|
||||
import com.aiosman.riderpro.ui.post.PostScreen
|
||||
import com.aiosman.riderpro.ui.profile.AccountProfile
|
||||
import com.aiosman.riderpro.ui.profile.AccountProfileV2
|
||||
|
||||
sealed class NavigationRoute(
|
||||
val route: String,
|
||||
@@ -240,7 +240,7 @@ fun NavigationController(
|
||||
CompositionLocalProvider(
|
||||
LocalAnimatedContentScope provides this,
|
||||
) {
|
||||
AccountProfile(it.arguments?.getString("id")!!)
|
||||
AccountProfileV2(it.arguments?.getString("id")!!)
|
||||
}
|
||||
}
|
||||
composable(
|
||||
@@ -363,7 +363,6 @@ fun NavigationController(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalSharedTransitionApi::class)
|
||||
@@ -394,7 +393,7 @@ fun Navigation(
|
||||
fun NavHostController.navigateToPost(
|
||||
id: Int,
|
||||
highlightCommentId: Int? = 0,
|
||||
initImagePagerIndex: Int? = null
|
||||
initImagePagerIndex: Int? = 0
|
||||
) {
|
||||
navigate(
|
||||
route = NavigationRoute.Post.route
|
||||
|
||||
Reference in New Issue
Block a user