diff --git a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt index 0d597e56..a6f51d49 100644 --- a/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt +++ b/android/src/main/kotlin/dev/msfjarvis/claw/android/ui/ext.kt @@ -21,7 +21,7 @@ fun PostActions( context: Context, urlLauncher: UrlLauncher, viewModel: ClawViewModel, - viewComments: (String) -> Unit, + navigateToComments: (String) -> Unit, ): PostActions { return object : PostActions { override fun viewPost(postId: String, postUrl: String, commentsUrl: String) { @@ -31,7 +31,7 @@ fun PostActions( override fun viewComments(postId: String) { viewModel.markPostAsRead(postId) - viewComments(postId) + navigateToComments(postId) } override fun viewCommentsPage(post: UIPost) {