feat(android): add share action

This commit is contained in:
Harsh Shandilya 2024-05-20 01:36:26 +05:30
parent b56de40b12
commit b12b5c800f
7 changed files with 34 additions and 4 deletions

View file

@ -265,6 +265,8 @@ val TEST_POST_ACTIONS =
override fun toggleSave(post: UIPost) {}
override fun share(post: UIPost) {}
override suspend fun getComments(postId: String): UIPost {
return UIPost(
shortId = "ooga",

View file

@ -20,6 +20,8 @@ interface PostActions {
fun toggleSave(post: UIPost)
fun share(post: UIPost)
suspend fun getComments(postId: String): UIPost
suspend fun getLinkMetadata(url: String): LinkMetadata