From e387e04b6dce790e4fa35f265aedaecdb0ea7de8 Mon Sep 17 00:00:00 2001 From: davotoula Date: Fri, 29 Aug 2025 14:47:25 +0100 Subject: [PATCH] Added "record and post video" button to GenericCommentPostScreen.kt (GeoHashTag post and HashTag post) --- .../ui/note/nip22Comments/GenericCommentPostScreen.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/nip22Comments/GenericCommentPostScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/nip22Comments/GenericCommentPostScreen.kt index cde5a69ea..c692fc600 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/nip22Comments/GenericCommentPostScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/nip22Comments/GenericCommentPostScreen.kt @@ -53,6 +53,7 @@ import com.vitorpamplona.amethyst.ui.actions.mediaServers.ServerType import com.vitorpamplona.amethyst.ui.actions.uploads.SelectFromGallery import com.vitorpamplona.amethyst.ui.actions.uploads.SelectedMedia import com.vitorpamplona.amethyst.ui.actions.uploads.TakePictureButton +import com.vitorpamplona.amethyst.ui.actions.uploads.TakeVideoButton import com.vitorpamplona.amethyst.ui.navigation.navs.Nav import com.vitorpamplona.amethyst.ui.navigation.topbars.PostingTopBar import com.vitorpamplona.amethyst.ui.note.BaseUserPicture @@ -390,6 +391,12 @@ private fun BottomRowActions(postViewModel: CommentPostViewModel) { }, ) + TakeVideoButton( + onVideoTaken = { + postViewModel.selectImage(it) + }, + ) + ForwardZapToButton(postViewModel.wantsForwardZapTo) { postViewModel.wantsForwardZapTo = !postViewModel.wantsForwardZapTo }