From 8b944a0c6819eb7406fd2986915c4b93cadc4a92 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 4 Apr 2026 16:31:16 +0000 Subject: [PATCH] feat: show toast while downloading video for sharing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Display a "Downloading video…" toast when the user taps share on a remote video, so they know the download is in progress before the share sheet appears. Uses the existing `downloading_video_for_sharing` string resource that was already translated in multiple locales. https://claude.ai/code/session_01B7HLXqbnicfj3eg1Wjgz6Z --- .../vitorpamplona/amethyst/ui/components/ZoomableContentView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt index 6321e4fd4..45b813408 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt @@ -833,6 +833,7 @@ fun ShareMediaAction( enabled = !isDownloadingVideo.value, ) { isDownloadingVideo.value = true + accountViewModel.toastManager.toast(R.string.share_video, R.string.downloading_video_for_sharing) scope.launch { shareVideoFile( context = context,