mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
fixup! refactor(android): remove TwoPaneLayoutPostActions
This commit is contained in:
parent
4d260933c0
commit
4bac4c6404
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue