From cb02955ac601a862016f1db2d7ef7f0afc349364 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Wed, 24 Jul 2024 07:49:44 +0200 Subject: [PATCH 1/2] fix order of Share ImageAction --- .../java/com/vitorpamplona/amethyst/ui/components/VideoView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt index 438ef2f8b..264bbd6bd 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt @@ -824,7 +824,7 @@ private fun RenderVideoPlayer( } AnimatedShareButton(controllerVisible, Modifier.align(Alignment.TopEnd).padding(end = Size165dp)) { popupExpanded, toggle -> - ShareImageAction(accountViewModel = accountViewModel, popupExpanded, videoUri, null, null, null, null, nostrUriCallback, toggle) + ShareImageAction(accountViewModel = accountViewModel, popupExpanded, videoUri, nostrUriCallback, null, null, null, mimeType, toggle) } } else { controller.volume = 0f From bfbcf11fa3a3e7dc0760febb0ed8b1490e8a3082 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:42:17 +0200 Subject: [PATCH 2/2] Update CashuRedeem.kt --- .../com/vitorpamplona/amethyst/ui/components/CashuRedeem.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/CashuRedeem.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/CashuRedeem.kt index 9b7e17876..abc8f976d 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/CashuRedeem.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/CashuRedeem.kt @@ -339,6 +339,12 @@ fun CashuPreviewNew( fontSize = 20.sp, modifier = Modifier.padding(top = 5.dp), ) + Text( + text = "Mint: " + token.mint.replace("https://", ""), + fontSize = 7.sp, + color = Color.Gray, + modifier = Modifier.padding(start = 5.dp, bottom = 1.dp), + ) Row(modifier = Modifier.padding(top = 5.dp)) { var isRedeeming by remember { mutableStateOf(false) }