更新个人主页

This commit is contained in:
2024-09-29 23:17:59 +08:00
parent 2497698f27
commit 2c6af2ad94
18 changed files with 863 additions and 2483 deletions

View File

@@ -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